Public bug reported: $ printf 'a b\0b' | grep --null-data --null "a b" | hexdump -C 00000000 61 0a 62 00 62 00 |a.b.b.| 00000006
expect 00000000 61 0a 62 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: grep 2.25-1~16.04.1 ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21 Uname: Linux 4.4.0-45-generic x86_64 NonfreeKernelModules: nvidia_uvm nvidia ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 CurrentDesktop: XFCE Date: Fri Nov 11 12:58:27 2016 EcryptfsInUse: Yes InstallationDate: Installed on 2015-11-21 (355 days ago) InstallationMedia: Xubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021) SourcePackage: grep UpgradeStatus: Upgraded to xenial on 2016-06-24 (139 days ago) ** Affects: grep (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1641092 Title: Does not support patterns containing newline To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1641092/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs