On Fri, 18 Sep 2009 00:25:47 +0300, Ville Skyttä wrote: > On Thursday 17 September 2009, David Paleino wrote: > > The following commit has been merged in the master branch: > > commit f13ea4968bc11c69fb1f0cc88aa95dceb928ca56 > > Author: David Paleino <[email protected]> > > Date: Thu Sep 17 22:15:13 2009 +0200 > > > > Avoid sed pipe as ps itself can omit the headers (thanks to Elan > > Ruusamäe) > [...] > > - COMPREPLY=( $( compgen -W '$( command ps axo pid | sed 1d )' -- > > $cur ) ) > > + COMPREPLY=( $( compgen -W '$( command ps axo pid= )' -- $cur ) ) > [...] > > - COMPREPLY=( $( compgen -W '$( command ps axo pgid | sed 1d )' -- > > $cur )) > > + COMPREPLY=( $( compgen -W '$( command ps axo pgid= )' -- $cur )) > [...] > > - COMPREPLY=( $( compgen -W '$( command ps axo command | \ > > - sed -e "1d; s/ .*//; s:.*/::; s/:$//;" \ > > + COMPREPLY=( $( compgen -W '$( command ps axo command= | \ > > + sed -e "s/ .*//; s:.*/::; s/:$//;" \ > > When I last worked on these, IIRC I found some systems where the "=" suffix > like in the above didn't work. It could have been a Tru64 box, but > unfortunately I don't have access to one any more to check. Just a FYI in > case someone runs into problems with this later.
Okay, let's just hope nothing bad happens then :) David -- . ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
signature.asc
Description: PGP signature
_______________________________________________ Bash-completion-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel
