2

how to use variables in SED?

view full story
linux-howto

http://askubuntu.com – I try the fallowing code and it does nothing ble=QQ sed -i 's/$ble/ZZ/g' $file However this code replaces QQ with ZZ ble=QQ sed -i 's/$ble/ZZ/g' $file how to use variables in SED? (HowTos)