[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36094: Possible sed bug
From: |
Roel Van de Paar |
Subject: |
bug#36094: Possible sed bug |
Date: |
Wed, 5 Jun 2019 10:38:53 +1000 |
See attached 'test' file with some non-ASCII chars.
$ cat test
a�-�-
Then;
$ sed -i "s|.*|allgone|" test && cat test
allgone�-�-
Or (using fresh copy of 'test');
$ sed -i "s|.*|allgone|gi" test && cat test
allgone�allgone�allgone
Expected output in both cases would seem to be "allgone" on the line and
nothing else?
God Bless,
Roel
test
Description: Binary data
- bug#36094: Possible sed bug,
Roel Van de Paar <=