awk sed question...

awk sed question...

am 26.01.2008 10:55:44 von jonaharah

Dear Friends,


I need a code that can replace a var_text in a line into xyz so I can
replace it later. The var_text can be a1, a2, a3, a4,


e.g.

stainless mud pan,construction,,,4,4,1196924152,,a2,,

Re: awk sed question...

am 26.01.2008 11:04:02 von Cyrus Kriticos

jonaharah@gmail.com wrote:
>
> I need a code that can replace a var_text in a line into xyz so I can
> replace it later. The var_text can be a1, a2, a3, a4,
>
>
> e.g.
>
> stainless mud pan,construction,,,4,4,1196924152,,a2,,

sed "s/a[1-4]/xyz/"

--
Best regards | Be nice to America or they'll bring democracy to
Cyrus | your country.