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

Re: SED help needed.

>>"Rob" == Rob Browning <osiris@cs.utexas.edu> writes:

Rob> Fabrizio Polacco <fpolacco@megabaud.fi> writes:
Rob> Just a minor nit-pick:

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

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

Rob> might be safer.

	Umm, That won't work.  Try it:

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

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

 People think my friend George is weird because he wears
 sideburns...behind his ears.  I think he's weird because he wears
 false teeth...with braces on them. Steven Wright
Manoj Srivastava                                     <srivasta@datasync.com>

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: