Hack #21 -> Sed Basics – Find and Replace Using RegEx
This hack explains how to use sed substitute command “s”. The `s’ command is probably the most important in `sed’ and has a lot of different options. The `s’ command attempts to match the pattern space against the supplied REGEXP; if the match is successful, then that portion of the pattern space which was matched is replaced with REPLACEMENT. Syntax:
Read more
You must be logged in to post a comment.