Know Shell Script
Sunday, July 14, 2013
split string in bash
here is example using sed command.
echo
"my name is;chotelal"
|
sed
-
e
's/;/\n/g'
myname is
chotelal
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment