Feature request: NUL delimiter for mapfile/readarray

2013-03-12 Thread Charles Duffy
Howdy -- Right now, mapfile isn't suitable for any case where arbitrary C strings need to be read -- which is the case when handling filenames, serializing/deserializing arbitrary command-line parameters, and many other such situations. Is there any chance of getting a -d '' (akin to read) or -0

Re: ignoring current shell and always running posix shell? Re: Should this be this way?

2013-03-12 Thread Chet Ramey
On 3/11/13 6:37 PM, Linda Walsh wrote: > It would make no sense for posix to take the stance that any > unknown script without a shebang at the top, presented to any interpreter > shell > be ignored by the interpreter and instead shall be run under /bin/sh. The Posix shell specification on

Re: ignoring current shell and always running posix shell? Re: Should this be this way?

2013-03-12 Thread Pierre Gaston
On Tue, Mar 12, 2013 at 12:37 AM, Linda Walsh wrote: > Pierre Gaston wrote: >>> >>> >>> It is likely that the document is assuming you are running on >>> a POSIX compliant system where all users use the same shell so there is >>> only 1 shell, thus the use of the word 'the' when refer