Re: Problem with brace expansion

2015-04-22 Thread Dr Alun J. Carr
Well, to be strictly conformant with heirloom SysV sh, we have to use the following (which is uglier than Cobol with a hangover): #looper2-sh.sh n=4 i=1 while [ $i -le $n ] do echo i = $i i=`expr $i + 1` done which also works with dash and mksh. Perhaps this needs to go into a FAQ somew

Re: Possibly a bug

2015-04-22 Thread Chet Ramey
On 4/21/15 4:30 AM, Valentin Bajrami wrote: > The behaviour on bash 4.2.53(1)-release seems to be different. For example > > $ ./history | his > bash: his: command not found... > [ Here I press enter to get back to the terminal. This wasn't the case on > 4.3.x ] > > [1]+ Stopped