[Dctrl-tools-devel] Bug#511022: the full paragraph should not include its final newline
Antti-Juhani Kaijanaho
antti-juhani at kaijanaho.fi
Sat Aug 8 09:11:21 UTC 2009
package dctrl-tools
tag 511022 + pending
thanks
On Tue, Jan 06, 2009 at 08:47:14PM +0200, Antti-Juhani Kaijanaho wrote:
> > This doesn't work either:
> > echo "Package: gedit" | grep-dctrl -n -s Package "Package: gedit"
> >
> > But this works:
> > % echo "Package: gedit" | grep-dctrl -n -X -s Package "Package: gedit
> > "
> > gedit
> >
> > NB: embedded newline in the last pattern
>
> Ok, that's a separate issue, I think. Cloning.
I am unable to reproduce this:
$ echo "Package: gedit" | grep-dctrl -n -s Package "Package: gedit"
gedit
$ echo "Package: gedit" | grep-dctrl -n -X -s Package "Package: gedit
"
gedit
Ah, but I think you meant the first to alao include -X. Now, indeed:
$ echo "Package: gedit" | grep-dctrl -n -X -s Package "Package: gedit"
$
Fixed in Git.
--
Antti-Juhani Kaijanaho, Jyväskylä, Finland
http://antti-juhani.kaijanaho.fi/newblog/
http://www.flickr.com/photos/antti-juhani/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/dctrl-tools-devel/attachments/20090808/84953703/attachment.pgp>
More information about the Dctrl-tools-devel
mailing list