Glenn, there is a 3rd bug in xargs:

3. Aborting xargs using ^C in interactive shell sessions takes very
long, e.g. xargs --max-lines=1 printf "x%sx\n" < <(ls -1R /usr/share/)
| wc -l then ^C takes minutes for a shell prompt to show again.

Olga

2012/3/31 ольга крыжановская <[email protected]>:
> Glenn, there are 2 bugs:
>
> 1. Aborting grep -r hello /usr/include repeatedly using ^C results in
> ksh printing warnings if I run ls -l:
> ls -l
> /home/fleyta/grepbltintest/bin/ksh: warning: vmbusy() inside
> job_reap() -- should not happen
> /home/fleyta/grepbltintest/bin/ksh: warning: vmbusy() inside
> job_reap() -- should not happen
> ...
>
> The grep built in or other built ins also start to hang after repeated
> use of ^C during grep -r
>
>
> 2. If I run grep -r hello /usr/include and quickly abort it using ^C
> the current working directory points to some where with in
> /usr/include, i.e. cwd in the shell is not restored or is the shell
> aware that the cwd has been changed, e.g. cd $PWD does not work but cd
> $(/bin/pwd) does work because /bin/pwd is an external process.
>
> Olga
>
> On Fri, Mar 30, 2012 at 8:46 AM, Glenn Fowler <[email protected]> wrote:
>>
>> corrections to last post -- in a hurry before early spring break
>>
>> download ast-cmdtst.2012-03-30.tgz to lib/package/tgz
>> bin/package read
>> bin/package view
>> bin/package use # new ksh with viewpath env ready to build
>> cd kshlib/cmdtst
>> nmake install
>> nmake test
>>
>
>
>
> --
>       ,   _                                    _   ,
>      { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
> .----'-/`-/     [email protected]   \-`\-'----.
>  `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
>       /\/\     Solaris/BSD//C/C++ programmer   /\/\
>       `--`                                      `--`



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     [email protected]   \-`\-'----.
 `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
      /\/\     Solaris/BSD//C/C++ programmer   /\/\
      `--`                                      `--`

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to