From: Thomas de Grenier de Latour <degrenier@easyconnect.fr>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] striping blank lines (was: stripping out the DO NOT REPLY from bugzie emails)
Date: Mon, 22 Oct 2007 21:15:40 +0200 [thread overview]
Message-ID: <20071022211540.19e751f3@eusebe> (raw)
In-Reply-To: <1193075875.16410.8.camel@localhost>
On 2007/10/22, Peter Volkov <pva@gentoo.org> wrote:
>
> В Пнд, 22/10/2007 в 19:21 +0200, Elias Probst пишет:
> > To delete empty lines with sed, just do a
> > sed '/^$/d'
> > I hope that's what you're looking for.
>
> No. awk command in the previous mail substituted 2 or more empty lines
> with exactly one empty line. Your command makes mail less readable.
>
One of this two commands should do the trick (depending whether you're
after empty lines or blank lines):
'/./,/^$/!d'
or '/[^[:space:]]/,/^[[:space:]]*$/!d'
--
TGL.
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2007-10-22 19:18 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-28 23:31 [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails Andrew Gaffney
2007-09-28 23:43 ` Andrew Gaffney
2007-09-29 7:23 ` Thilo Bangert
2007-09-29 9:29 ` Robin H. Johnson
2007-09-29 10:01 ` Fabian Groffen
2007-09-29 14:11 ` [gentoo-dev] " Duncan
2007-09-29 14:34 ` Fabian Groffen
2007-09-29 16:24 ` Joe Peterson
2007-09-29 9:58 ` [gentoo-dev] " Fabian Groffen
2007-09-29 10:36 ` Robin H. Johnson
2007-09-29 11:05 ` Mike Frysinger
2007-09-29 11:28 ` Robin H. Johnson
2007-09-29 12:27 ` Benno Schulenberg
2007-09-29 17:33 ` Andrew Gaffney
2007-09-29 18:21 ` [gentoo-dev] " Ryan Hill
2007-09-29 23:28 ` [gentoo-dev] " Mike Frysinger
2007-10-22 16:09 ` [gentoo-dev] striping blank lines (was: stripping out the DO NOT REPLY from bugzie emails) Peter Volkov
2007-10-22 17:21 ` Elias Probst
2007-10-22 17:57 ` Peter Volkov
2007-10-22 19:15 ` Thomas de Grenier de Latour [this message]
2007-09-30 10:26 ` [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails Christian Birchinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071022211540.19e751f3@eusebe \
--to=degrenier@easyconnect.fr \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox