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

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -