Thanks. I will not use the -E flag then.
Zoltan
Zoltan Frombach wrote:
You are right. My mistake. This indeed works:
sed -E -e "s/^[0-9]+/199/" conf-split > conf-split.new
Thanks for clearing this up.
For what it's worth, there is another way to write this regexp without
using the -E flag. Since x
Zoltan Frombach wrote:
> You are right. My mistake. This indeed works:
>
> sed -E -e "s/^[0-9]+/199/" conf-split > conf-split.new
>
> Thanks for clearing this up.
For what it's worth, there is another way to write this regexp without
using the -E flag. Since x+ == xx*, you can write it:
"s/^[0-
use -E
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
You are right. My mistake. This indeed works:
sed -E -e "s/^[0-9]+/199/" conf-split > conf-split.new
Thanks for clearing this up.
Zoltan
On Sun, 2004-11-14 at 18:39, Zoltan Frombach wrote:
match anything! After spending like an hour investigating this, I
realized
that the + after my bracket expres
On Sun, 2004-11-14 at 18:39, Zoltan Frombach wrote:
> match anything! After spending like an hour investigating this, I realized
> that the + after my bracket expression ( I'm talking about this part here:
Normal.
> According to the sed man page, the regexp syntax that is used by sed is
> docu
I'm trying to use sed under FreeBSD 5.3-RELEASE in a new 'netqmail' port I
am currently working on. I want to replace a bunch of digits (in plain
English: a decimal number) in a text file at the beginning of a line. Here
is how the original file looks before I do anything (this file is part of