06/03/17

Sed Quick Reference

Basic sed usage



Add "-dev" at the end of the match.
# sed -i 's|saml[1-2]-.*\.php/[a-zA-Z0-9\-]*|&-dev|