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.
Remove characters in a string
Name: Neeraja Date: August 3, 2005 at 05:30:02 Pacific OS: HP UX CPU/Ram: 256MB
Comment:
Hello All,
Can anyone help me how to remove certain characters from a value which i pass through the command line when executing script
Summary: Hi, I have to find out whether the last character of a string is a "/" or not. I have to accept a path from the stdin and find out whether it has a "/" in the end or not. If not, then append "/" to th...
Summary: hi, i would like to count the occurence of a character in a string using sed, any idea? e.g. count the no of ';' in 'abc;def;ghi;jkl' returns 3. Thanks in advance. ...
Summary: Hello, I try to detect the presence of a char in a string. This is korn shell. mystring="1234-" mychar="-" if [ mystring includes mychar ] ; then exist=1 else exist=0 fi What should I write inst...