[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Syntax for tab character
From: |
Bill Gradwohl |
Subject: |
Re: Syntax for tab character |
Date: |
Fri, 24 Apr 2009 15:16:38 -0600 |
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
xxx
Description: application/shellscript
signature.asc
Description: This is a digitally signed message part
- Syntax for tab character, Bill Gradwohl, 2009/04/24
- Re: Syntax for tab character, Greg Wooledge, 2009/04/24
- Re: Syntax for tab character, Chet Ramey, 2009/04/24
- Re: Syntax for tab character, Bill Gradwohl, 2009/04/24
- Re: Syntax for tab character,
Bill Gradwohl <=
- Re: Syntax for tab character, Andreas Schwab, 2009/04/24
- Re: Syntax for tab character, Chet Ramey, 2009/04/24
- Re: Syntax for tab character, Bill Gradwohl, 2009/04/25
- Re: Syntax for tab character, Andreas Schwab, 2009/04/25
- Re: Syntax for tab character, Bill Gradwohl, 2009/04/25
- Re: Syntax for tab character, Andreas Schwab, 2009/04/25
- Re: Syntax for tab character, Bill Gradwohl, 2009/04/25
- Re: Syntax for tab character, Andreas Schwab, 2009/04/25
- Re: Syntax for tab character, Chet Ramey, 2009/04/25
- Re: Syntax for tab character, Bill Gradwohl, 2009/04/25