[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash variables



In <[🔎] 20110225222127.GA1996@playground>, Mike McClain wrote:
>This only bites me once in a while but when it does it can be very
>frustrating so any hints / tips are welcome.

FOO="stuff 'with' qu\"otes"
echo $FOO
echo stuff 'with' qu\"otes

Yes, quote removal happens after parameter expansion, but it only removes 
quotes that existed before expansion.  So, your find and grep are choking on 
quotes.
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
bss@iguanasuicide.net                   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: