[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 May 29 05:53:46 UTC 2009
Bugs item #311393, was changed at 2009-01-30 02:49 by Sung Pae
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311393&group_id=100114
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
Milestone: None
Status: None
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.
----------------------------------------------------------------------
Comment By: Sung Pae (guns-guest)
Date: 2009-05-29 00:53
Message:
Yes this is annoying. Consider the BSDs!
This really is as simple as adding 'unalias sed' at the bottom of the file.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311393&group_id=100114
More information about the Bash-completion-devel
mailing list