shells/bash-completion and gdb

Volker Stolz vs at FreeBSD.org
Fri Nov 12 09:24:31 GMT 2004


Can somebody help me finding out why bash-completion doesn't really work
for "gdb foo <tab>"? I only get:

$> gdb foo <TAB>ps: comm: keyword not found

I tracked this down to the following bit in /u/l/etc/bash-completion:

$> ps axo comm,pid | awk '{if ($1 ~ /^'$prev'/) print $2}'
ps: comm: keyword not found

Changing this to "command,pid" solves the problem, but doesn't seem to
do anything useful.

Volker
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME


More information about the freebsd-ports mailing list