The error message is ugly, but the bug is that the script is not valid
UTF-8, it is encoded as ISO-8859-1. When you create the line in a new
script, vi saves it as UTF-8 for you.
Run sed with LANG=en_US.ISO-8859-1 or with LANG=C instead.
** Changed in: sed (Ubuntu)
Status: New => Invalid
Paolo,
Here are the env variables from a system on which I have this issue (Karmic,
64 bit, Intel):
ripper<501>~% echo $LANG
en_US.UTF-8
ripper<502>~% echo $LC_ALL
ripper<503>~% echo $LC_CTYPE
Enclosed is a simplified example of a sed script file (test.sed) that causes
the error.
You will see
What is the exact content (in binary) of the script?
What is $LANG, $LC_ALL and $LC_CTYPE?
--
sed crashes after special character in command
https://bugs.launchpad.net/bugs/452620
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubun
(If a single line works while the full script doesn't, this might be a
bug in sed indeed).
--
sed crashes after special character in command
https://bugs.launchpad.net/bugs/452620
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubunt