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.
Character substitution
Name: marion Date: September 29, 2005 at 04:13:01 Pacific OS: AIX 5.2 CPU/Ram: don't know
Comment:
Hi all.
I have to put the full path of a file into its name. The problem is that unix won't accept the character "/" in the filename, so I have to substitute it with something else. How can I do it via scripting?
Summary: Thank you Jim! That works like a charm. I did not realize there were special characters like that that could be put into the substitute command. ...
Summary: I am trying to change a spacial character after I convert an ebcdic to ascii file. It has trouble with the special character so I need to change it to a ~. I am not sure if this is working properly. C...
Summary: Some suggestions on the use of regex's. 1) anchor the search at the beginning and/or end whenever possible 2) do not use a character class for only 1 character 3) only do a global search/replace when ...