Linux tid bits
Friday, April 8, 2011
How to replace a string in a string variable in bash without using sed, awk or perl
Bash provides a way to replace a string
${<STRING>//<PATTERN TO FIND IN STRING>/<STRING TO REPLACE>}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment