Re: SED help needed.
On 14 Nov 1996, Guy Maor wrote:
maor >Christoph Lameter <email@example.com> writes:
maor >> I am trying to develop a sed script to extract a package description based
maor >> on the virtual package name but cannot get it to work:
maor >A simpler solution is to split on blank lines, which sed can't do.
maor >Use perl:
maor >perl -n000e 'print if /Provides:.* elf-x11r6/' /var/lib/dpkg/status
I dont know what "000e" does (cannot see it described in the perlrun
manpage) but the rest would just print one line and not
the other information about a package
--- +++ --- +++ --- +++ --- +++ --- +++ --- +++ --- +++ ---
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