bug-sed
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
bug#20571: sed 4.2.2
From
:
Massimo Masotti
Subject
:
bug#20571: sed 4.2.2
Date
:
Thu, 14 May 2015 10:19:43 +0200 (CEST)
Good morning,
the file contains "8.25F, \n". I notice a strange behavior with this line:
sed -i -r 's/([0-9])F([,; \]\}\)])/\1\2/g'
file
while I'm expecting to get "8.25, \n", the content is not changed. To get the expected substitution, I must use:
sed -i -r 's/([0-9])F([,; \}\)])/\1\2/g'
file
as if it is not legal to use the escaped character ']'.
Thanks for your time; I apologize if I'm wrong.
Best Regards
Massimo Masotti - Italy
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
bug#20571: sed 4.2.2
,
Massimo Masotti
<=
bug#20571: sed 4.2.2
,
Davide Brini
,
2015/05/14
bug#20571: sed 4.2.2
,
Jim Meyering
,
2015/05/14
bug#20571: R: bug#20571: closed (Re: bug#20571: sed 4.2.2)
,
Massimo Masotti
,
2015/05/14
Prev by Date:
bug#20542: Differences between q and Q
Next by Date:
bug#20572: bug about sed when use -i
Previous by thread:
bug#20095: Thanks for clarifying
Next by thread:
bug#20571: sed 4.2.2
Index(es):
Date
Thread