I want to run a simple command of replacing absolute paths to relative ones inside a CSS file like this:
sed -i 's//fonts/../fonts/' /Users/sergeybasharov/WebstormProjects/snap/compiled/Content/stylesheets/style.css
It throws this
sed: 1: "/Users/sergeybasharov/W ...": bad flag in substitute command: 'b'
What can be wrong in this simple script?
See Question&Answers more detail:os