[Bash-completion-devel] Bug#497597: bash-completion: gdb argument completions returns error
David Paleino
d.paleino at gmail.com
Sun Sep 7 08:38:17 UTC 2008
On Sun, 07 Sep 2008 13:56:35 +0900, Morita Sho wrote:
> Hi,
Hello,
> On 09/07/2008 01:05 PM, Kevin Mitchell wrote:
> > Ok, well it probably should have occured to me to actually include my
> > $PATH variable:
> >
> > $ echo $PATH
> > :/home/kevmitch/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
> >
> > Note the preceding ":" which should include the current directory in
> > accordance with bash(1):
> > [..]
> > Is there a
> > straightforward way to search and replace an empty field with "." for
> > find's benefit other than a for/sed?
>
> I guess removing any zero-length directory name before splitting the PATH
> variable solves the problem.
Yes, probably.
> A patch is attached.
Great, thanks :)
Fixed in rev1178
Kindly,
David
P.S.: however, I read somewhere (can't remember where, sorry), that adding "."
to $PATH is a bad habit...
--
. ''`. 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: 197 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20080907/2a5d2734/attachment-0003.pgp
More information about the Bash-completion-devel
mailing list