User Tools

Site Tools


ed_survival

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ed_survival [2020/03/11 17:30]
smj created
ed_survival [2020/03/11 17:31] (current)
smj
Line 10: Line 10:
 ||a||append text to the buffer|| ||a||append text to the buffer||
 ||i||insert text at the current line in the buffer|| ||i||insert text at the current line in the buffer||
-||p||print the current line in the buffer - try //1p// to print the first line||+||p||print the current line - try //1p// to print the first line||
 ||q||quit ed - to quit without saving, type //q!//|| ||q||quit ed - to quit without saving, type //q!//||
 ||s||search/replace - try s/old/new|| ||s||search/replace - try s/old/new||
 ||w||write out the buffer to disk - //w filename//|| ||w||write out the buffer to disk - //w filename//||
 +||.||return to command mode from //a//ppend or //i//nput mode||
  
 If you have made an error, ed will only respond with //?// If you have made an error, ed will only respond with //?//
ed_survival.1583947844.txt.gz · Last modified: 2020/03/11 17:30 by smj