Subject: Re: shell script question (grep)
To: Lubos Vrbka <shnek@chemi.muni.cz>
From: Peter Seebach <seebs@plethora.net>
List: netbsd-help
Date: 02/09/2003 12:03:49
In message <006501c2d061$2d206ca0$d200a8c0@mshome.net>, "Lubos Vrbka" writes:
>and in the "translation table" there will be
>580    value1
>1580  value2
>2580  value3
>won't sed substitute it to
>value1, 1value1 and 2value1?

Oh, good catch.

>should the sed command then be modified to
>"s/\ $i\$/\ $j/"
>to work properly? i'm not used to use sed (in fact, this is the first time
>i'll be using it - i've never used it before; i'll take a closer look now,
>seems to be very powerful and very useful :o))), so my comment may by
>false...

You're quite right.

-s