Quote:
Originally Posted by cfajohnson
Code:
string=$( printf "%s\n" "$string" | sed 's/ /%20/g' )
Or. with bash or ksh93:
Code:
string=${string// /%20}
|
Hey thanks cfajohnson, that did the trick, the second suggestion works perfectly!
Thanks again for being so helpful guys, I really appreciate it.