On Fri, 2009-04-24 at 13:50 -0400, Greg Wooledge wrote:
> parameter=${paramter//[ $'\t']/}

I experimented a bit. See the attachment.


The first 3 dumpit outputs are expected. The next 2 are not. The last 2
show what I would have expected from the previous 2.

The $' inside the [] is being used up but not in any way I expected.
Clearly, $'\t' is not representing a tab character, nor is it just using
the $ as a character in its own right. What is it doing?

-- 
Bill Gradwohl

Attachment: xxx
Description: application/shellscript

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

Reply via email to