Making $! and $? searchable in the man page

2011-01-06 Thread Vidar Holen
Hi, Finding the meaning of $? and $! in the man page is quite hard for people not familiar with the layout and bash terminology (this frequently comes up in Freenode #bash). It would be very helpful for them if you could simply search for "$!" to find the description of the parameter !. Below is

Re: Making $! and $? searchable in the man page

2011-01-06 Thread Greg Wooledge
On Thu, Jan 06, 2011 at 10:48:33AM +0100, Vidar Holen wrote: > Hi, > > Finding the meaning of $? and $! in the man page is quite hard for people > not familiar with the layout and bash terminology (this frequently comes > up in Freenode #bash). It would be very helpful for them if you could > simp

Re: read builtin and readonly variables

2011-01-06 Thread Eric Blake
On 01/04/2011 08:05 AM, Eric Blake wrote: > I couldn't find anything either - the POSIX wording for readonly only > mentions assignment and unset as requiring errors. I think that's an > unintentional hole in POSIX, though, so I'm going ahead and submitting a > bug report to have readonly also men

for; do; done regression ?

2011-01-06 Thread Alexander Tiurin
Hi! I ran the command ~$ time for i in `seq 0 1` ; do echo /o/23/4 | cut -d'/' -f2 ; done > /dev/null 6 times in a row, and noticed to the increase in execution time: 1) real0m16.573s user0m0.390s sys 0m4.240s 2) real0m19.883s user0m0.330s sys 0m4.290s 3) real

Re: Making $! and $? searchable in the man page

2011-01-06 Thread Clark J. Wang
On Fri, Jan 7, 2011 at 1:33 AM, Greg Wooledge wrote: > On Thu, Jan 06, 2011 at 10:48:33AM +0100, Vidar Holen wrote: > > Hi, > > > > Finding the meaning of $? and $! in the man page is quite hard for people > > not familiar with the layout and bash terminology (this frequently comes > > up in Free