[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: read Built-in Parameter Behavior -- Null Byte Delimiter
From: |
Greg Wooledge |
Subject: |
Re: read Built-in Parameter Behavior -- Null Byte Delimiter |
Date: |
Tue, 19 Jan 2016 11:49:25 -0500 |
User-agent: |
Mutt/1.4.2.3i |
On Tue, Jan 19, 2016 at 11:39:07AM -0500, Adam Danischewski wrote:
> Bash also removes the single quotes before it hits read when the single
> quotes are attached to the delimiter option (-d'').
And in EVERY OTHER COMMAND. This is how quotes work. This is utterly
fundamental to bash and the entire Bourne shell syntax.
echo ""'a'''$''""''
Is *exactly* the same as
echo a
Echo has no way to know that you typed a and not "a" or a"" or 'a' or ....
- read Built-in Parameter Behavior -- Null Byte Delimiter, Adam Danischewski, 2016/01/16
- Re: read Built-in Parameter Behavior -- Null Byte Delimiter, Piotr Grzybowski, 2016/01/16
- Re: read Built-in Parameter Behavior -- Null Byte Delimiter, Martijn Dekker, 2016/01/16
- Re: read Built-in Parameter Behavior -- Null Byte Delimiter, Greg Wooledge, 2016/01/18
- Re: read Built-in Parameter Behavior -- Null Byte Delimiter, Chet Ramey, 2016/01/18
- Re: read Built-in Parameter Behavior -- Null Byte Delimiter, Greg Wooledge, 2016/01/18
- Re: read Built-in Parameter Behavior -- Null Byte Delimiter, Chet Ramey, 2016/01/18
- Re: read Built-in Parameter Behavior -- Null Byte Delimiter, Adam Danischewski, 2016/01/19
- Re: read Built-in Parameter Behavior -- Null Byte Delimiter,
Greg Wooledge <=
- Re: read Built-in Parameter Behavior -- Null Byte Delimiter, Adam Danischewski, 2016/01/19
- Re: read Built-in Parameter Behavior -- Null Byte Delimiter, Greg Wooledge, 2016/01/19
- Re: read Built-in Parameter Behavior -- Null Byte Delimiter, Reuti, 2016/01/25
- Re: read Built-in Parameter Behavior -- Null Byte Delimiter, Greg Wooledge, 2016/01/25
- Re: read Built-in Parameter Behavior -- Null Byte Delimiter, Reuti, 2016/01/30
- Re: read Built-in Parameter Behavior -- Null Byte Delimiter, Stephane Chazelas, 2016/01/18
- Re: read Built-in Parameter Behavior -- Null Byte Delimiter, Stephane Chazelas, 2016/01/18