bash - Linux Shell scripting sed command -


sed -r -i -e "s/appid/$a/" -e "s/accesstoken/$b/" facebookapi > /script/newapp 

by giving command why program not getting executed can solve please ?

sed editor, not shell interpretor. execute sed instruction subistitute s/// not batch or binary of other form (than sed instruction). execution stay @ calling shell level , management (like variable substition between double quote in sed instruction string treated before sed receive full instruction)


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -