🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #3297

Is your editor manly enough to edit itself?

#3297
From: Steven L. Baur
Date: Fri, 09 Sep 1988 08:22
31 lines
1074 bytes
o
Try the following out ...

$ ed `which ed`
# ed returns a question mark -- ed cannot handle binary files

$ vi `which vi`
# vi returns a "line too long" error message and doesn't read the whole
#  file in

$ jove `which jove`	# if you have jove on your system
# jove returns a "line too long" error message also

# Now try your favorite editor and see what happens ...

# now try ... (this will work)
$ cp `which emacs` /tmp	# gnu-emacs
$ emacs /tmp/emacs
# now in emacs do
(replace-regexp "Emacs" "EMACS")
(save-file)
<quit>

And the resulting binary runs.  (Tested on SUN-3 and UNIX-PC)

GNU-Emacs, the editor manly enough to edit itself.  Don't leave home without
it.


steve
Technical Details
Message-ID: <1414@spp2.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!elroy!aero!trwrb!trwspp!spp2!baur

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!elroy!aero!trwrb!trwspp!spp2!baur
From: baur@spp2.UUCP (Steven L. Baur)
Newsgroups: comp.editors
Subject: Is your editor manly enough to edit itself?
Message-ID: <1414@spp2.UUCP>
Date: 9 Sep 88 08:22:23 GMT
Reply-To: baur@spp2.UUCP (Steven L. Baur)
Organization: TRW Inc., Redondo Beach, CA
Lines: 30