Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 48 lines (32 sloc) 1.79 KB
This is sed - Unix Stream Editor - cheat sheet. I created it because I wanted
to master sed inside out. With this cheat sheet I could have the whole sed
reference in front of me and this allowed me to quicker learn all the
I explain a lot more about how and why I created it in my article "Sed - UNIX
Stream Editor - Cheat Sheet". This article can be read here:
This cheat sheet was created by Peteris Krumins (
His blog is at -- good coders code, great reuse.
The cheat sheet is released under GNU Free Documentation License.
The cheat sheet contains the following topics:
* Command line argument summary.
* Sed command summary:
* Do they take a single address, pattern or a range of addresses.
* What do they modify, is it input stream, output stream, pattern
space or hold buffer.
* All commands with their descriptions.
* GNU sed extensions.
* Address range format.
It is available in .pdf, .txt (ascii) and .doc (microsoft word)
formats. The latest versions can always be found at:
I'm sorry that I used Microsoft Word to create it, but I was not proficient in
LaTeX back then.
Peteris Krumins
Something went wrong with that request. Please try again.