Re: Mapfile callback access to current line

2010-05-17 Thread Chet Ramey
On 4/15/10 11:56 PM, DennisW wrote: > Mapfile would be that much more powerful if the callback function had > access to the current line. Is there any chance this might be added in > the future? Sure, there's a chance. What would be the most useful form? A shell variable that lives for the durat

Re: Weird "/dev/fd/62: Permission denied"

2010-05-17 Thread Chet Ramey
On 5/1/10 12:25 AM, No Name wrote: > > The following $ while read l ; do continue; done < <(ls -l / > 2>/dev/null)fails on: BASH_VERSINFO=4 BASH_VERSION=4.1.2(1)-release > SHLVL=1 (the machine I'm on doesn't have bashbug).with """-bash: > /dev/fd/62: Permission denied"""and not on bash3,

Re: How to make a directory name with '/' in it?

2010-05-17 Thread Eric Blake
On 05/16/2010 09:51 AM, Chris F.A. Johnson wrote: > On Sun, 16 May 2010, Peng Yu wrote: > >> I tried the following command to create a dir with '/' in the name. >> But it only create a directory with name 'm'. Is there a way to make a >> directory with '/' in the name? >> >> mkdir m\/\/ > >Th

Re: Patch to bashref.texi

2010-05-17 Thread Chet Ramey
> On this mail from last month ... > > Date: Tue, 20 Apr 2010 14:03:25 -0400 > vincent> > The thing is that when you get the manual from this page > > > [[http://www.gnu.org/software/bash/manual/bashref.info.tar.gz]] > > chet> I don't distribute that. Try the bashref manual from

Re: Patch to bashref.texi

2010-05-17 Thread Karl Berry
On this mail from last month ... Date: Tue, 20 Apr 2010 14:03:25 -0400 vincent> > The thing is that when you get the manual from this page > > [[http://www.gnu.org/software/bash/manual/bashref.info.tar.gz]] chet> I don't distribute that. Try the bashref manual from the source

Re: How to make a directory name with '/' in it?

2010-05-17 Thread Marc Herbert
Le 16/05/2010 16:51, Chris F.A. Johnson a écrit : > >There are two characters that cannot be in a file or directory >name: / and NUL. Interesting essay about this: http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html