clear echo "Enter string" read str echo "Enter string to search" read sstr echo "Enter string to replace" read rstr str=`echo $str | sed s/$sstr/$rstr/` echo "string replaced successfully and string is $str"
0 comments:
Post a Comment