Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Sep 2005 14:04:52 +0300
From:      Rein Kadastik <wigry@uninet.ee>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: sed not working
Message-ID:  <43198354.3000402@uninet.ee>
In-Reply-To: <43198251.6070606@uninet.ee>
References:  <43196C96.6040504@uninet.ee>	<20050903101800.GA77285@cirb503493.alcatel.com.au> <43198251.6070606@uninet.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
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 
>>> script):
>>>
>>> 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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to 
> "freebsd-hackers-unsubscribe@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?

Rein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43198354.3000402>