On 2010-08-03 19:37 +0800, Zhang Weiwu wrote: > On 2010???08???03??? 17:53, Andre Majorel wrote: > >> > $ printf 'a\nb' | grep -zo a.*b > >> > > >> > (The above should output something /if/ -z would make egrep > >> > not consider \n as string terminator. But it has produced no > >> > output) > >> > > But grep -z does. This would seem to be an undocumented > > limitation of -o. > > > > No it doesn't. > > $ printf 'a\nb' | grep -z 'a.*b' > $
You're welcome. What version of grep ? -- André Majorel <http://www.teaser.fr/~amajorel/> If the Debian project published their users' email addresses, we'd be getting spam. So I'm glad they don't. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100803123949.ga4...@aym.net2.nerim.net