Article 5KS5Y 'sed' Don't copy special characters '/'

'sed' Don't copy special characters '/'

by
silverwind
from LinuxQuestions.org on (#5KS5Y)
Hi I have a problem creating a query. Doesn't work as is '/'

tunny1.txt = "jljlkj/hkjhlkk/878"

sed -i "s/keystore:password2/$(cat tunny1.txt)/" override.conf;
sed: -e expression #1, char 31: unknown option to `s'latest?d=yIl2AUoC8zA latest?i=b68attA-af0:8U-BIjfrQco:F7zBnMy latest?i=b68attA-af0:8U-BIjfrQco:V_sGLiP latest?d=qj6IDK7rITs latest?i=b68attA-af0:8U-BIjfrQco:gIN9vFwb68attA-af0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments