[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SED help needed.

Christoph Lameter <clameter@waterf.org> writes:

> I am trying to develop a sed script to extract a package description based
> on the virtual package name but cannot get it to work:

A simpler solution is to split on blank lines, which sed can't do.
Use perl:

perl -n000e 'print if /Provides:.* elf-x11r6/' /var/lib/dpkg/status


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: