On 3 June 2012 22:12, Cedric Blancher <[email protected]> wrote: > The grep builtin in ast-open 20120531 quits when I put it temporarily > into the background with ^Z and then use fg to put it into the > foreground again. > > Example: > > grep -r foo /usr/share/doc > ^Z[1] + Stopped grep -r foo /usr/share/doc/ > fg > <job quits with any output> > > bg does the same, grep just stops working
If I put the grep command in a subshell and then use ^Z the job disappears completely from output of jobs or jobs -l. It's just gone. The only thing which works (per Roland's suggestion) is to use this command chain: (ulimit -c 0 ; grep -r foo /usr/share/man ; true) this can be stopped with ^Z and resumed properly, too. Ced -- Cedric Blancher <[email protected]> Institute Pasteur _______________________________________________ ast-developers mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-developers
