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

Re: SED help needed.



Christoph Lameter wrote:
> 
> On 14 Nov 1996, Guy Maor wrote:
> 
> maor >Use perl:
> maor >
> 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
> 

Have you tryed it?
It works for me:

$ perl -n000e 'print if /Provides:.* elf-x11r6/' /var/lib/dpkg/status
Package: xlib
Status: install ok installed
Priority: standard
Section: x11
Maintainer: Stephen Early <sde1000@debian.org>
Source: XFree86
Version: 3.1.2-7
Replaces: elf-x11r6lib
Provides: xR6shlib, xlibraries, elf-x11r6lib
Depends: libc5, ldso (>= 1.7.14-1)
Conflicts: elf-x11r6lib
Description: XFree86 3.1.2 shared libraries



ciao,
Fabrizio
-- 
+-------------------------------------------------------------+
| e-mail: fpolacco@megabaud.fi    fpolacco@debian.org         |
| http://megabaud.fi/~fpolacco/   Join the UKI Linux Project! |
| fingerprint 70 1A 72 2D 2B C8 A5 63 7A C2 CC E0 2A 54 AE DA |
| finger: fpolacco@megabaud.fi    fpolacco@master.debian.org  |
+-------------------------------------------------------------+

--
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: