I have to replace special characters using shell, so i use sed but i have some mistakes that i don't understand.
<%_ by [@, ("_" = dash) _%> by ]
for the first 2 characters my synthax is :
sed -i y/\<%\/\]\/ test.htm
it works, but here how can i add the dash character ?
The second should be this way
sed -i y/\%>\/\]\/
but i have this mistake
bash: /]/: is a folder
can you help me please