bug-bash
[Top][All Lists]
Advanced

[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 12:13:00 -0500
User-agent: Mutt/1.4.2.3i

On Tue, Jan 19, 2016 at 12:09:54PM -0500, Adam Danischewski wrote:
> In the case for read -d'' very probably the user has attempted to supply
> the null delimiter, but read quietly takes the next argument. I think it
> makes sense to bump empty strings away from the option when they occur
> after options in the Bash interpreter parsing of the commandline.
> -d''  --> -d ''

I strongly disagree.  Making special exceptions in an already horrendously
complex and obtuse syntax is not progress.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]