Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
replace characters in string
Name: frankliu9 (by hlliu98) Date: March 27, 2006 at 22:11:36 Pacific OS: unix CPU/Ram: Intel Product: PC
Comment:
I have a string variable x=A_B_C_D in the script, what I want to do is to replace all the “_” with the space, after that, x=A B C D. My system only supports Bourne shell /bin/sh and Korn shell /bin/ksh (no bash).
Summary: I need a UNIX command to work on OS X on a Mac. I have a client who upgraded from OS 9 to OS X on her mac. She has a huge number of files with "/" and other special characters. I need to remove ...
Summary: Replace /MM_VERSION_STR/ in the above by: $1 == "#define" && $2 == "MM_VERSION_STR" in case MM_VERSION_STR appears elsewhere in the same file. ...
Summary: Hi there, would be great if you can help me. I have to find unwanted characters in a file, and all I have is a positive list of allowed characters as regular expression [a-zA-Z0-9 \[\]{}#\,\.();]. Usi...