linux command question.

January 17, 2010 at 21:39:38
Specs: linux
I want to check if a string A in a file. if It is, then replace string A with string B. Otherwise, add string B in the same file.

How can I make it as a unix command on linux ?

Thanks a lot


Chun


See More: linux command question.

Report •

#1
January 19, 2010 at 18:41:29
What shell or programming solution do you wish to use?

Playing to the angels
Les Paul (1915-2009)


Report •
Related Solutions


Ask Question