Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This is sed (unix stream editor) cheat sheet.
branch: master

readme.txt

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
commands.

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:

    http://www.catonmat.net/blog/sed-stream-editor-cheat-sheet/

------------------------------------------------------------------------------

This cheat sheet was created by Peteris Krumins (peter@catonmat.net).
His blog is at http://www.catonmat.net  --  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:

  .txt: http://www.catonmat.net/download/sed.stream.editor.cheat.sheet.txt
  .pdf: http://www.catonmat.net/download/sed.stream.editor.cheat.sheet.pdf
  .doc: http://www.catonmat.net/download/sed.stream.editor.cheat.sheet.doc

I'm sorry that I used Microsoft Word to create it, but I was not proficient in
LaTeX back then.

------------------------------------------------------------------------------

Sincerely,
Peteris Krumins
http://www.catonmat.net

Something went wrong with that request. Please try again.