Public bug reported: Binary package hint: grep
There's something wrong in Ubuntu's grep, see below how "servicedemo" and "svdrpdemo" get erroneously deleted from the second ls output... # wget ftp://ftp.cadsoft.de/vdr/Developer/vdr-1.5.17.tar.bz2 # tar xjf vdr-1.5.17.tar.bz2 # cd vdr-1.5.17 ## Works as expected # ls PLUGINS/src hello osddemo pictures servicedemo skincurses sky status svdrpdemo ## Here's the error: servicedemo and svdrpdemo are missing # ls PLUGINS/src | grep -v '[^a-z0-9]' hello osddemo pictures skincurses sky status # Works as expected # ls PLUGINS/src | grep -v NotThereForSure hello osddemo pictures servicedemo skincurses sky status svdrpdemo This happens on Ubuntu 7.10 and 8.04 # cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=7.10 DISTRIB_CODENAME=gutsy DISTRIB_DESCRIPTION="Ubuntu 7.10" # dpkg -l grep ii grep 2.5.1.ds2-6bui GNU grep, egrep and fgrep and # cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)" # dpkg -l grep ii grep 2.5.3~dfsg-3 GNU grep, egrep and fgrep ** Affects: grep (Ubuntu) Importance: Undecided Status: New -- grep -v doesn't work correctly https://bugs.launchpad.net/bugs/200296 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
