** Changed in: grep (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to grep in Ubuntu.
https://bugs.launchpad.net/bugs/1908892

Title:
  grep -L exit status reverted

Status in grep package in Ubuntu:
  Fix Released

Bug description:
  After upgrading to Ubuntu 20.04LTS (grep 3.1-2build1 => 3.4-1), the
  following code snippet stopped working:

  # All patches must have "From:", "Date:", and "Subject:" lines
  for hdr in From Date Subject; do
      grep -L ^$hdr: $dir/* || ( echo Missing \"$hdr:\" line; exit -1 )
  done

  It looks like this was fixed upstream, cfr. "Revert -L exit status change 
introduced in grep 3.2"
  
(https://git.savannah.gnu.org/cgit/grep.git/commit/?id=0435ebca64fbafcd62008c991dd9377d8a792dfc)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1908892/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to