[H-GEN] regular expressions

Byron Ellacott bje at apnic.net
Mon Aug 21 23:47:24 EDT 2000


[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics.  Please observe the list's charter.          ]

On 22 Aug 2000, Jason Henry Parker wrote:

[on single quotes and bash]
> only to find I can't do it.  It's incredibly annoying, but usually a
> sign that the script needed to be a script and not a one-liner anyway.

Personally, I'm happy to have the current behaviour of bash - *anything*
in single quotes, bar a single quote, is taken literally.  This means
there are no special cases, which makes it easier to deal with.

echo 'You'\''re right about it being a pain sometimes.'

-- 
bje


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list