sed Unix Utility
Jump to navigation
Jump to search
A sed Unix Utility is a Unix utility that can perform text transformations.
- Example(s):
sed -i -e 's/EXISTING_STRING/REPLACEMENT_STRING/g' ./file.txt
- Counter-Example(s)
- See: perl.
References
2012
- http://en.wikipedia.org/wiki/Sed
- QUOTE: sed (stream editor) is a Unix utility that parses text and implements a programming language which can apply transformations to such text. It reads input line by line (sequentially), applying the operation which has been specified via the command line (or a sed script), and then outputs the line. It was developed from 1973 to 1974 as a Unix utility by Lee E. McMahon of Bell Labs,[1] and is available today for most operating systems.[2]
- ↑ "Frequently-Asked Questions about sed, the stream editor". http://sed.sourceforge.net/sedfaq2.html#s2.1. Retrieved 2008-05-13.
- ↑ "Frequently-Asked Questions about sed, the stream editor". http://sed.sourceforge.net/sedfaq2.html#s2.2. Retrieved 2008-05-13.