On Friday 27 February 2004 13:07, Robert Shearman wrote:
$ echo $LANG en_GB.UTF-8
$ echo $LC_ALL
$ LC_ALL=C sed -e '1,2d' -e 's/(.*)/ "\1",/' ../../AUTHORS | grep Ove "Ove K\x{FFFF}ven",
$ sed -e '1,2d' -e 's/(.*)/ "\1",/' ../../AUTHORS | grep Ove "Ove K",\x{FFFF}ven
Right, my orignal patch to fix this did LANG=C before the sed. Alexandre changed this to LC_ALL=C recently, probably to get C sorting order as well.
When I use your settings I can't reproduce what you get (I have sed 4.0.8 on Fedora Core 2 test 1). What does it say when you do this:
$ LANG=C sed -e '1,2d' -e 's/(.*)/ "\1",/' ../../AUTHORS | grep Ove
-Hans