I'm trying to use
sed -i -e "s/.*seb.*/ "$ftp_login_template"/" $ftp_dir
however I get this error:
sed: -e expression #1, char 34: unknown option to `s'
I don't understand why since this works perfectly:
sed -i -e "s/.*wbspassword.*/ "wbspassword": "$password",/" $user_conf
Any ideas as to what I'm doing wrong?
Could this be the problem?