tab completion breaks when done after a -d command line option?
From:
stephan
Subject:
tab completion breaks when done after a -d command line option?
Date:
Mon, 23 Dec 2002 12:17:52 +0100
User-agent:
Mutt/1.2.5.1i
When using 'gzip -d' i've noticed that tab completion breaks but only
after
the -d. To reproduce it:
gzip /etc/serv<TAB>
should (and does) expand to /etc/services.
However:
gzip -d /etc/serv<TAB><TAB><TAB><TAB>
does absolutely nothing - it's as if tab completion is suddently turned
off.
(note, i don't want to compress /etc/services - i use it as an example
of a
file which is probably on your system.)
It does NOT do this with the command line:
convert -d /etc/services
(a useless command which does nothing, but is here to show that it
doesn't
happen with all software.)
stephan@cheyenne:~> bash --version
GNU bash, version 2.05.0(1)-release (i386-suse-linux)
Copyright 2000 Free Software Foundation, Inc.
Bug or justified feature?
--
----- stephan beal
Registered Linux User #71917 http://counter.li.org
I speak for myself, not my employer. Contents may
be hot. Slippery when wet. Reading disclaimers makes
you go blind. Writing them is worse. You have been Warned