Nicolai Rosen on Sat, 11 Dec 1999 14:04:07 -0500 (EST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Plug] String Conversion


I'm trying to create a shell script and I've run into a stumbling block in terms of converting one string into another. cut and tr don't seem to be able to do what I want. An example of what I want to do is if you had the string "foobar" and you wanted to convert every instance of "oba" to "josh", but you didn't want to convert the other o to anything. So the desired result would be "fojoshr"

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug