FreeBSD Bash Completion port
kirk at strauser.com
Thu Nov 6 11:09:43 PST 2003
At 2003-11-06T18:31:35Z, Jean-Baptiste Quenot <jb.quenot at caraldi.com> writes:
> Thank you for maintaining the bash completion port for FreeBSD. I just
> wanted to report that textproc/gsed is required by bash-completion.
With all respect, I've been using bash-completion on FreeBSD for months
before I packaged it, and I did not (and do not) have gsed installed.
> If you look at the bash_completion script, you will notice that line:
> $ grep gsed /usr/local/etc/bash_completion
> [ $UNAME != Linux ] && have gsed && alias sed=gsed
Note the "&& have gsed". The alias is only executed if gsed is present on
The comment immediately above that line says:
# use GNU sed if we have it, since its extensions are still used in our code
which leads me to believe that either:
1) FreeBSD implemented work-alikes of the GNU extensions, or
2) bash-completion was reworked to not require them.
> Because Bash Completion is maintained on a Linux platform, the sed
> invocations fail completely on FreeBSD.
Could you give a concrete example?
> So to sum up, bash completion is only useful if gsed is installed.
I must politely disagree. Again, I do not have gsed installed and
bash-completion works as documented, at least for the functions I've used it
Are you seeing specific failures? I'd be more than happy to work with you
to troubleshoot any problems as best as I can.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20031106/6cc4b564/attachment.bin
More information about the freebsd-ports