Home ›
What is the s/findthis/replacewiththis syntax called?What is the s/findthis/replacewiththis syntax called?
Submitted by Benjamin Melançon on January 30, 2011 - 5:07pm
Searched words:
sed "stream editor" line editor
vim text replacement
search and change
what is the s/find/replace syntax called?
Stefan:
that's called search and replace with regular expressions
ed is the line editor used by vi [which includes this]
sed is just a stream version of ed
s is the substitution command.
More like this
- What are people who do Drupal called? The definitive list.
- Create rewrite rules from new and old URLs using the power of Vim to munge text
- Preventing code calling external web services from slowing or stopping display of your site
- sed - replace text in multiple files
- Where can hook implementations be placed so that they are called?


Comments
Use of the search-replace regex
is covered in a very comprehensive Sed tutorial:
http://www.grymoire.com/Unix/Sed.html
Post new comment