a=<your_string>
b=`echo $a | sed 's/<string_you_want_to_replace>// '
(you don't need to put any quotes around <string_you_want_to_replace>)
b=`echo $a | sed 's/<string_you_want_to_replace>//
(you don't need to put any quotes around <string_you_want_to_replace>)
No comments:
Post a Comment