I belive you can escape it \$ORIGIN or single quote it.
--- Jonathan Nichols <[EMAIL PROTECTED]> wrote: Evening, all! Got a quick shell scripting question, if anyone wants to take a stab at it. :) I'm writing a script to creat a DNS zonefile and so far, everything is working great except for the $ORIGIN (and $TTL) statement. The phrase "$ORIGIN" is the problem. The script thinks it's a variable, obviously. How can I tell the script to just ignore $ORIGIN and print the text "$ORIGIN" in the output instead? The incorrect output: [EMAIL PROTECTED] jnichols $ less db.blah.org . 86400 ; 1 day blah.org IN SOA ns1.pbp.net.blah.org hostmaster.pbp.net. ( *snip* The *CORRECT* output: (what I want) [EMAIL PROTECTED] jnichols $ less db.blah.org $ORIGIN . $TTL 86400 ; 1 day blah.org IN SOA ns1.pbp.net.blah.org hostmaster.pbp.net. ( Notice the difference between the two? ;) I just want the script to completely ignore the text "$ORIGIN" and "$TTL" - is there a way to do this? Thanks! -Jonathan -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list