Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: altair; Ernest_at_the_Beach; ShadowAce
> Of course, the burning question is ... Emacs or VI?

I use Emacs, vi, nedit, and sometimes good ol' ed. Whatever is most appropriate, and available under the circumstances.

Today's Helpful Hint: When your company server won't boot because of problems in /etc/fstab, you can't get fsck to act sanely, and you're in a single-user shell with your boss staring at you -- even vi is not available -- use ed. Growing up with a line editor in the 70's has saved my butt more than once.

51 posted on 09/12/2010 12:20:27 PM PDT by dayglored (Listen, strange women lying in ponds distributing swords is no basis for a system of government!)
[ Post Reply | Private Reply | To 47 | View Replies ]


To: dayglored
Someone has written a M-x butterfly, you know ...

When your company server won't boot because of problems in /etc/fstab, you can't get fsck to act sanely, and you're in a single-user shell with your boss staring at you -- even vi is not available -- use ed.

In upper division college, I was finally off of the System 7 PDP and on the CS VAX which had vi available and ... I couldn't use it most of the time because it was too slow, so I still used ed.

But, question ... how do you edit files using only /bin/sh if for some reason ed isn't available? I figured it out under fire when I was trying to get a Microport install working until I established that it didn't have drivers for the hard disk for the machine.

54 posted on 09/12/2010 1:13:31 PM PDT by altair (Violence is the last refuge of the incompetent - Salvor Hardin)
[ Post Reply | Private Reply | To 51 | View Replies ]

To: dayglored

sed


61 posted on 09/12/2010 3:03:32 PM PDT by Still Thinking (Freedom is NOT a loophole!)
[ Post Reply | Private Reply | To 51 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson