[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: empty pattern: info clarification?
From: |
Paul Eggert |
Subject: |
Re: empty pattern: info clarification? |
Date: |
Wed, 04 Jan 2012 09:52:38 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 |
On 01/04/12 01:24, Voelker, Bernhard wrote:
> Thanks, I like it.
OK, thanks, I pushed what I hope is an even slightly better
version that talks about matching empty and blank lines.
It's like what I emailed previously, except the last paragraph
now looks like this:
To match empty lines, use the pattern @samp{^$}. To match blank
lines, use the pattern @samp{^[[:blank:]]*$}. To match no lines at
all, use the command @samp{grep -f /dev/null}.