[Bash-completion-devel] [Bash-completion-commits] [SCM] bash-completion branch, master, updated. 3a69bd3e9379f8092d4cb69f1f83fcfeb98aa537

David Paleino d.paleino at gmail.com
Thu Sep 17 21:46:55 UTC 2009


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 <d.paleino at gmail.com>
> > 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20090917/84870ddd/attachment.pgp>


More information about the Bash-completion-devel mailing list