Re: sed not working

2005-09-05 Thread Rein Kadastik
Tim Robbins wrote: Rein Kadastik wrote: Giorgos Keramidas wrote: On 2005-09-03 14:17, Rein Kadastik <[EMAIL PROTECTED]> wrote: Rein Kadastik wrote: Well I have one guess here. In estonian alphabet, the z comes immediately after s and before t. So as the regex orders [a-

Re: sed not working

2005-09-04 Thread Rein Kadastik
Peter Jeremy wrote: On Sun, 2005-Sep-04 20:17:28 +0300, Rein Kadastik wrote: Andrea Campi wrote: Actually, the best way forward would probably be to mail Ruslan directly. Agreed. Any contacts? LANG=C would be nice but the character classes should be implemented as well

Re: sed not working

2005-09-04 Thread Rein Kadastik
Andrea Campi wrote: On Sun, Sep 04, 2005 at 10:51:26AM +0200, Jeremie Le Hen wrote: Oh, and by the way: this has nothing to do with hackers@, you should have tried questions@ first. I agree this has initially a little to do with -hackers@ but the appearance this thread took in the la

Re: sed not working

2005-09-03 Thread Rein Kadastik
Giorgos Keramidas wrote: On 2005-09-03 14:17, Rein Kadastik <[EMAIL PROTECTED]> wrote: Rein Kadastik wrote: 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

Re: sed not working

2005-09-03 Thread Rein Kadastik
Rein Kadastik wrote: 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 extreme

Re: sed not working

2005-09-03 Thread Rein Kadastik
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. I

Re: sed not working

2005-09-03 Thread Rein Kadastik
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

sed not working

2005-09-03 Thread Rein Kadastik
Hi, I have a very interesing problem with sed in FreeBSD. Lets take the following sed command (from the ncurses MKlib_gen.sh script): sed -e '/^\([a-z_][a-z_]*\) /s//\1 gen_/' This command alters the input: blah something -> blah gen_something This works, but I have found a specific pattern,