|
| From: | Andreas Gruenbacher |
| Subject: | Re: [Quilt-dev] quilt mail broken with sed 3.02 |
| Date: | Mon, 30 Jan 2006 22:47:39 +0100 |
| User-agent: | KMail/1.8 |
On Monday 30 January 2006 20:52, Jean Delvare wrote:
> So I'll just apply that. No objection?
Objection. You git the semantics wrong:
$ echo 'a' | sed -e '/a/Q'
$ echo 'a' | sed -e '/a/p;q'
> a
> a
This should do the job though (don't leave out the {} grouping):
- -ne '/^$/Q'
+ -ne '/^$/{d;q}'
Andreas
| [Prev in Thread] | Current Thread | [Next in Thread] |