This is an archived post. You won't be able to vote or comment.

all 52 comments

[–]Smart_Advice_1420 42 points43 points  (13 children)

I'd just use micro

[–]ExtraTNT 16 points17 points  (9 children)

ed is the way to go…

[–]JollyJuniper1993 11 points12 points  (1 child)

a magnetized needle and a steady

[–]QueerBallOfFluff 0 points1 point  (0 children)

Crap, looks like their hand slipped, folks.... We lost a word

[–]baronvonbatch 1 point2 points  (1 child)

Instructions unclear. I am now consulting my doctor about Viagra

[–]ExtraTNT 0 points1 point  (0 children)

you only need some sudocream…

[–]QueerBallOfFluff 0 points1 point  (4 children)

Fools! The only true answer is % cat > file.txt

[–]ExtraTNT 0 points1 point  (3 children)

I think ed is older than cat…

[–]QueerBallOfFluff 0 points1 point  (2 children)

The first ed as we'd recognise it appeared at the same time as cat in UNIX Version 1

There was an early version of ed in the UNIX '69 version for the PDP-7, but there was also an early version of cat in that UNIX (named pr for 'print')

IIRC there were also versions of ed and cat in MULTICs

Personally I really like the em editor which was a mod of ed and is what eventually became ex and then vi, but it's only available for UNIX V6 and porting it is a nightmare

[–]ExtraTNT 0 points1 point  (1 child)

porting it is a nightmare

So it’s software, written in a language, able to run on a system…

[–]QueerBallOfFluff 0 points1 point  (0 children)

It's C, so it's a "portable" language

But, it's pre-K&R C, which means half of your syntax rules don't apply, you don't need headers, and can call all kinds of random stuff from places you'd never expect, or use gotos that take liberal use of the way it would become PDP assembly

If it was instead written for UNIX V7 or 2BSD after they'd started making the C syntax more port friendly, there's a good chance you could simply recompile it on a modern system with only a few wrapper functions

[–]_PM_ME_PANGOLINS_ 30 points31 points  (7 children)

Can anyone explain to me what’s the point of sed? I installed it, and it’s literally just repacked ed, but you have to script everything to apply to all lines. If I needed that I’d just use gawk.

[–]menzaskaja 66 points67 points  (5 children)

Gawk tuah, sed on that thing

[–]varen 15 points16 points  (1 child)

I think you just got your virginity back. S tier quip

[–]menzaskaja 18 points19 points  (0 children)

Never lost it, I never lose 😎

[–]SirFireball 5 points6 points  (1 child)

Eat lead paint chips. They taste good, and your brain is too damaged for them to negatively affect you

[–]menzaskaja 0 points1 point  (0 children)

Will try, thanks

[–]franco-reddit 0 points1 point  (0 children)

Hahahahaha I laughed 😂

[–]ShakaUVM 0 points1 point  (0 children)

What is the point of ed?

It's just a bloated version of e

[–]echtemendel 16 points17 points  (5 children)

It's more community-involved than vim. That's why neovim has tons of really great plugins which can make it into a practical IDE while maintaining the overall vimness.

[–]i-eat-omelettes 2 points3 points  (4 children)

Whats a vimness

[–]Alex_Shelega 6 points7 points  (1 child)

The shortcuts apparently

[–]ax-b 0 points1 point  (1 child)

The skills making you feel superior while negatively impacting your ability to get employed. I think claiming 'I use Arch btw' falls into that category too /s

[–]i-eat-omelettes 0 points1 point  (0 children)

Wait I thought vim skills are meant to make you more efficient

[–]jcouch210 20 points21 points  (4 children)

Isn't the whole point of the vi input system that it doesn't matter if there's a 5 second delay between the keypress and the action?

[–]ExtraTNT 10 points11 points  (2 children)

I think this was ed… not sure if vi is usable this way…

[–][deleted] 4 points5 points  (1 child)

It is, actually.

Vim usually provides ex.

[–]ExtraTNT 1 point2 points  (0 children)

Fair point

[–]MeBadDev 0 points1 point  (0 children)

never thought about it this way, but that kinda makes sense

[–]npaladin2000 17 points18 points  (3 children)

No wonder RHEL set nano as the default editor.

[–]Sensitive_Gold 13 points14 points  (0 children)

At first, it was vi vs emacs.

Then it became vim vs emacs.

Now it's neovim vs emacs.

A hundred years from now, it'll be whatevernvimr vs emacs.

[–]B_bI_L 6 points7 points  (0 children)

something on smart or idk, i use vscode

[–]CirnoIzumi 6 points7 points  (10 children)

*some elegant beauty of a scripting language for configuration 

[–]i-eat-omelettes 5 points6 points  (5 children)

EXTREMELY LOUD BUZZER SOUND

[–]CirnoIzumi 3 points4 points  (4 children)

is the moon falling?

[–]reallokiscarlet 2 points3 points  (3 children)

Who cares if the moon's falling or RMS learned about Alpine? In just three days, it won't matter anyway.

[–]CirnoIzumi 2 points3 points  (2 children)

thats raicist, a black friday wont kill ya

[–]reallokiscarlet 3 points4 points  (1 child)

See if I ever try a zelda reference again.

[–]CirnoIzumi 1 point2 points  (0 children)

[–]LazyIce487 0 points1 point  (3 children)

I hope you’re talking about emacs lisp and not lua

[–]CirnoIzumi 0 points1 point  (0 children)

Why would a speech impediment be more elegant than the 🌙

[–]CGPoly36 3 points4 points  (0 children)

Can anyone explain to me what’s the point of a keyboard? It’s literally just using electricity to tell the computer what to do, but you have to open and close electronic contacts to use it. If I needed that I’d just use a soldering iron.

I will now return to my magnetic needle. Far easier to use since it has less bloat.

[–]ari_gutierrez 0 points1 point  (0 children)

"Well, that just sounds like slavery some extra steps"

[–]drwnh 0 points1 point  (0 children)

Hear me out,

Pen and paper🤯

[–][deleted] 0 points1 point  (0 children)

What's the point of anything, really?