Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 2003 19:31:35 +0100
From:      Jean-Baptiste Quenot <jb.quenot@caraldi.com>
To:        kirk@strauser.com
Cc:        freebsd-ports <ports@freebsd.org>
Subject:   FreeBSD Bash Completion port
Message-ID:  <20031106183133.GA42273@watt.intra.caraldi.com>

next in thread | raw e-mail | index | archive | help
Dear Kirk,

Thank you for maintaining the bash  completion port for FreeBSD.  I just
wanted to report that textproc/gsed  is required by bash-completion.  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

Because  Bash Completion  is maintained  on  a Linux  platform, the  sed
invocations fail completely on FreeBSD.  Thus  an alias to gsed is setup
on non-Linux platforms.  This is a bug report that I submitted to Ian M.
in June 2002:

----------------------------
revision 1.360
date: 2002/06/17 16:38:37;  author: ianmacd;  state: Exp;  lines: +5 -1

- check for non-Linux and presence of gsed (GNU sed). If it's there, alias
  it to sed.
----------------------------

So to sum up, bash completion is only useful if gsed is installed.

Best regards,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031106183133.GA42273>