BASH regex help

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri Apr 21 16:35:11 UTC 2006


On Fri, Apr 21, 2006 at 12:32:44PM -0400, Neil Watson wrote:
> White space is the enemy :)
> 
> # We must escape special characters
> DOMAIN=${DOMAIN//./\\.}

Oh right.  That's another common mistake I often make. :)

Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list