= TITLE = Ed is the Standard Editor = EVENT = none yet = AUTHOR = Sven Guckes = START = = Standard Editor = "Ed is the standard Editor" "Ed, man! !man ed" "Ed is the standard text editor." From: patl@athena.mit.edu (Patrick J. LoPresti) Subject: The True Path (long) Date: 11 Jul 91 03:17:31 GMT Newsgroups: alt.religion.emacs,alt.slack see also: http://www.gnu.org/fun/jokes/ed-msg.html http://www.gnu.org/fun/jokes/ed-msg.txt how to quit ed: http://www.guckes.net/ed/ed.png = Sample Session = = TODO = DONE fun reference beispiel session = References = manual short reference = Commands = overview to the command set "line range": 23,42p 23,42n 1,$p default addresses: ,n. arithmentic: +,+6 "global" command: 1,$g/^#/s:/etc:/tmp:g v:.:d deletes empty lines :g/re/p -> grep command "moving": 7,11t0 - moving lines "joining": 8,15j - joining lines "paging": z for paging "error message": H - fehlermeldung "substitution": s/foo/&bar/ "repeat command": ! = Links = links + references = Topics = combination :g+:s line range regexp re-use last search pattern re-use last change command :wq :g :v = Tricks = usefuls commands: reversing blocks = Speed = speed on large files timing some scripted editing = Size = small binary! guckes@kudu:~> ls -lh =ed -rwxr-xr-x 1 root root 47K Mai 29 2012 /bin/ed = Outlook = other commands: sed as a followup command from "ed" to "vi" sam = Quotes = Martin Neitzel [2014-12-05 at AFRA hackerspace]: "so kann man sich das bequem an die aktuelle fenstergröße anpassen - oder auch an die mentale kapazität.."