[Bash-completion-devel] [bash-completion-Bugs][311393] DBTS 501479: don't assume sed being GNU sed on Linux systems

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Fri Jan 30 08:49:04 UTC 2009


Bugs item #311393, was opened at 30/01/2009 09:49
Status: Open
Priority: 3
Submitted By: David Paleino (hanska-guest)
Assigned to: Nobody (None)
Summary: DBTS 501479: don't assume sed being GNU sed on Linux systems 
Distribution: None
Originally reported in: Debian BTS
Original bug number: 501479


Initial Comment:
* bash-completion assumes that a uname of Linux implies that the "sed"
  command refers to GNU sed, while on other systems it aliases sed to
  "gsed" if present.  While not possible on Debian, someone could
  easily make a Linux system with GNU sed installed as "gsed" and some
  other standards-compliant sed installed as "sed".  Why bother having
  the check for Linux at all?  Just always use "gsed" if present.
  Incidentally, bash-completion also leaves the alias sed=gsed in
  place if added, which seems like a surprising side-effect to occur
  due to sourcing bash-completion.


----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311393&group_id=100114



More information about the Bash-completion-devel mailing list