sed not working
wigry at uninet.ee
Sat Sep 3 04:04:46 PDT 2005
Rein Kadastik wrote:
> Peter Jeremy wrote:
>> On Sat, 2005-Sep-03 12:27:50 +0300, Rein Kadastik wrote:
>>> Lets take the following sed command (from the ncurses MKlib_gen.sh
>>> sed -e '/^\([a-z_][a-z_]*\) /s//\1 gen_/'
> OK got again some extremely strange testing results.
> If there is anywhere in the first token (the length does not matter)
> one of the following charakters: t, u, v, w, x, y, the transformation
> fails. Note that with z it works and with a-s it works also.
> -- Rein
> freebsd-hackers at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-hackers-unsubscribe at freebsd.org"
Well I have one guess here. In estonian alphabet, the z comes
immediately after s and before t. So as the regex orders [a-z] the
characters t, u, v, w, x, y are left out
How to order the sed to use english alphabet?
More information about the freebsd-hackers