Commit 96013e02585e33d942df822109ed3870a88bb0c6
1 parent
0a8bb6d20b
Exists in
master
Update scribblescrabble
Showing 1 changed file with 2 additions and 3 deletions Inline Diff
textedit_workshop/scribblescrabble
View file @
96013e0
emacs | 1 | 1 | emacs | |
vi/vim (optional) | 2 | 2 | vi/vim (optional) | |
ed | 3 | 3 | ed | |
sam | 4 | 4 | sam | |
sublime | 5 | 5 | sublime | |
acme | 6 | 6 | acme | |
7 | 7 | |||
Original UNIX text editor. Line editor, originally used on | 8 | 8 | Original UNIX text editor. Line editor. | |
teletypes. | 9 | |||
10 | 9 | |||
Most of the original research Unix operating system was written | 11 | 10 | Most of the original research Unix operating system was written | |
with ed on clunky teletypes. | 12 | 11 | with ed on clunky teletypes. | |
13 | 12 | |||
First written in 1971 by Ken Thompson. | 14 | 13 | First written in 1971 by Ken Thompson. | |
15 | 14 | |||
Regular expressions. | 16 | 15 | Regular expressions. | |
17 | 16 | |||
Commands: | 18 | 17 | Commands: | |
19 | 18 | |||
a append | 20 | 19 | a append | |
21 | 20 | |||
. dot, current line | 22 | 21 | . dot, current line | |
23 | 22 | |||
1 First line | 24 | 23 | 1 First line | |
2 Second line | 25 | 24 | 2 Second line | |
... | 26 | 25 | ... | |
$ Last line | 27 | 26 | $ Last line | |
28 | 27 | |||
s/old/new Substitute | 29 | 28 | s/old/new Substitute | |
p Print | 30 | 29 | p Print | |
n Print with line numbers (BSD, GNU addition) | 31 | 30 | n Print with line numbers (BSD, GNU addition) | |
32 | 31 | |||
No automatic indentation. | 33 | 32 | No automatic indentation. | |
34 | 33 | |||
Why ed? | 35 | 34 | Why ed? | |
======= | 36 | 35 | ======= | |
37 | 36 | |||
If you end up having to fix a very broken *nix system, you might | 38 | 37 | If you end up having to fix a very broken *nix system, you might | |
not be able to use nano, or even a vi derivative. It's possible that | 39 | 38 | not be able to use nano, or even a vi derivative. It's possible that | |
you could be forced to use ed under some strange scenarios, although | 40 | 39 | you could be forced to use ed under some strange scenarios, although | |
unlikely. | 41 | 40 | unlikely. | |
42 | 41 | |||
Also, regular expressions! | 43 | 42 | Also, regular expressions! | |
44 | 43 | |||
Also, if you have to do any CTF problems for UNIX v6 or v7... | 45 | 44 | Also, if you have to do any CTF problems for UNIX v6 or v7... |