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

Re: SED help needed.

Manoj Srivastava <srivasta@datasync.com> writes:

Once again, I typed before thinking, so let me try this one last time:

What I meant to say was that "^" only works right in a multi-line
string if you use the "m" modifier to the match operator, so here's
what I should have said originally:

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

might be a little safer, but it's probably not worth worrying about.


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: