bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: sed bug?


From: Paul Jarc
Subject: Re: sed bug?
Date: Fri, 09 Nov 2001 10:58:26 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu)

LA Walsh <address@hidden> wrote:
> I have input:
> home-271001-0230-4.dump.bz2
> home-281001-0301-7.dump.bz2
> home-291001-0230-6.dump.bz2
> home-301001-0230-9.dump.bz2
> (output of ls -1) piped into |sed '/^home-([0-9]){2}.*dump\.bz2$/ p;d'

sed '/^home-\([0-9]\)\{2\}.*dump\.bz2$/ p;d'

> Yet the same RegEx does mach using 'awk' which the sed info page
> said to look under for RegEx.

I guess that's a documentation bug.


paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]