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

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

sed bug?


From: LA Walsh
Subject: sed bug?
Date: Thu, 8 Nov 2001 23:48:25 -0800

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'
I get no output. which as I understand, means the expression didn't
match.

Yet the same RegEx does mach using 'awk' which the sed info page
said to look under for RegEx.  Sed seems to not like the
parens and braces.  Isn't it supposed to?

-linda
GNU sed version 3.02

Copyright (C) 1998 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.

Included as part of SuSE 7.2.




reply via email to

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