Re: SED help needed.
I still dont get it. 000e is not an octal number. But it works. Thanks.
On Fri, 15 Nov 1996, Joey Hess wrote:
joey >On Fri, 15 Nov 1996, Christoph Lameter wrote:
joey >> maor >perl -n000e 'print if /Provides:.* elf-x11r6/' /var/lib/dpkg/status
joey >>
joey >> I dont know what "000e" does (cannot see it described in the perlrun
joey >> manpage) but the rest would just print one line and not
joey >> the other information about a package
joey >
joey >It's in there:
joey >
joey > -0[digits]
joey > specifies the record separator ($/) as an octal
joey > number.
joey >
joey >Guy's example works great.
--- +++ --- +++ --- +++ --- +++ --- +++ --- +++ --- +++ ---
PGP Public Key = FB 9B 31 21 04 1E 3A 33 C7 62 2F C0 CD 81 CA B5
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: