Quotes within quotes within quotes in bash. :)

Stuart Jansen sjansen at buscaluz.org
Wed Jun 28 10:07:07 MDT 2006


On Mon, 2006-06-26 at 09:31 -0600, paul at seamons.com wrote:
> perl -e 'print "How'"'"'re you?\n"'
> 
> To paraphrase, we have a close single quote followed by an open double quote - 
> then the single quote, a close double quote followed by another open single 
> quote.  Clear as mud.

I can't decide if that's evil or genius. Probably both.

-- 
Stuart Jansen              e-mail/jabber: sjansen at buscaluz.org
                           google talk:   stuart.jansen at gmail.com

"However beautiful the strategy, you should occasionally look at 
the results." -- Winston Churchill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://plug.org/pipermail/plug/attachments/20060628/3a287c17/attachment.bin 


More information about the PLUG mailing list