[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59599: Possible sed bug
From: |
John Larew |
Subject: |
bug#59599: Possible sed bug |
Date: |
Sat, 26 Nov 2022 00:05:53 +0000 |
I have to admit to little time using the tool. To my admittedly limited
knowledge, this appears to be a bug:
[Reputation: Disabled]
sed with wildcard matching
________________________________
I have a DOS file with several record sequences as follows:
...
Online
1234 Main St
Anytown
...
I'm trying to edit the file with the following sed command;
sed -z 's/Online\r\n\(.*\)\r\n\(.*\)/Online\r\n\1 \2/g' test.txt
but there is no change in the stdout stream, much to my surprise.
Thanks in advance for any insight you can provide.
I am trying to remove the newline after the 2nd record following "Online", a
street address.
I have verified the file contents using sed --debug functionality.
I have since solved the problem with an alternate sed programming methodology.
sed --version reports 4.9.
Thanks for your time and consideration.
John Larew
860-917-0225
John.Larew@outlook.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#59599: Possible sed bug,
John Larew <=