"wait" blocks, "jobs" - does not
--
with best regards
Dmitry Bolshakov
12.09.2013, 22:34, "Chet Ramey" :
> On 9/12/13 6:14 AM, Dmitry Bolshakov wrote:
>
>> Hi!
>> imho "jobs" should either print zero exit status or it shou
erl -e "sleep 1; exit 123"
ok, I see exit status
but
$ bash -c 'set -m; perl -e "sleep 1; exit 0"& { sleep 3; jobs -l; }'
[1]+е║ Doneе║е║е║е║е║е║е║е║е║е║е║е║е║е║е║е║е║е║е║ perl -e "sleep 1; exit 0"
imho "Exit 0" would be better for scripting
--
with best regards
Dmitry Bolshakov
hi
perl has "-x" switch which makes it skip leading file contents until the
#!/bin/perl
line
imho it would be good to have the same feature in bash
--
With best regards
Dmitry Bolshakov
Hi
set -e
if nosuchcommand | grep blabla
then
echo ERROR: blabla was found
exit 1
fi
echo it was unexpected for me, I thougt this line should not be echoed
(bash 4.1.10(4)-release)
--
With best regards
Dmitry Bolshakov