Ed Cheat Sheet -- Unix Text Editor Cheat Sheet

1,835 views

Published on

Made at http://www.catonmat.net

This cheat sheet contains: Line addressing symbols and their description (line addressing summary), and all the ed commands and their description (command summary).

Visit http://www.catonmat.net for more cheat sheets!

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,835
On SlideShare
0
From Embeds
0
Number of Embeds
39
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Ed Cheat Sheet -- Unix Text Editor Cheat Sheet

  1. 1. Ed Text Editor Summary Line Addressing Summary: Address Symbol Description . The current line (address) in the buffer. $ The last line in the buffer. n The nth, line in the buffer where n is a number in the range [0,$]. - The previous line. This is equivalent to -1 and may be repeated with cumulative effect. ^ -n The nth previous line, where n is a non-negative number. ^n + The next line. This is equivalent to +1 and may be repeated with cumulative effect. +n The nth next line, where n is a non-negative number. whitespace n Whitespace followed by a number n is interpreted as +n. , The first through last lines in the buffer. This is equivalent to the addre

×