[oclug] Text processing

Dave Lewis dlewis at ottawa.com
Sat Mar 9 12:43:31 EST 2002


Thanks Everyone... got it working :)

Dave

At 10:28 AM 3/9/2002 -0500, you wrote:
>Dave Lewis wrote:
> > gateway: 192.168.0.1
>...
> > ALSO, in unix is there anyway to incude a colon in a variable ?  when I
> > assign a variable to the string above
> > it seems to get lost at the :
>
>Putting a colon in a shell variable's value shouldn't require any
>special treatment.  Spaces do require quoting or otherwise escaping.
>Try this:
>
>         x='gateway: 192.168.0.1'
>
>--
>patsmith at pobox.com
>_______________________________________________
>oclug mailing list
>oclug at lists.oclug.on.ca
>http://www.oclug.on.ca/mailman/listinfo/oclug





More information about the OCLUG mailing list