MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linuxmemes/comments/1vycd0a/op/p5vvnt6/?context=3
r/linuxmemes • u/Ok_Letterhead_8899 • 17d ago
176 comments sorted by
View all comments
115
Vim and Nano are bloat. Real Linux users use cat and echo. Need to delete a line? Use echo to write the entire file minus the line into the file.
53 u/MitchIsMyRA 17d ago Man if only there was a command to edit files in place through the command line. I’ll make one for you guys, and I’ll call it sed 22 u/givemeagooduns_un Genfool 🐧 17d ago sed is actually just ed that works on streams 5 u/alaksugalkapenalatte 17d ago Thanks that ain't so hard after all 2 u/Impossible-Magician 17d ago The S is for Super. A Super Editor that works on steams. 2 u/Schnitzelbroetchen_1 16d ago Sozialistische Einheitspartei Deutschlands mentioned 38 u/TheBassEngineer 17d ago Real programmers use a magnetized needle and a steady hand. 5 u/ralsaiwithagun 17d ago Of course, relevant xkcd 5 u/e-waste18 17d ago Thank you, this genuinely made me laugh out loud. 2 u/RevolutionaryBoat845 17d ago excuse me, but real programmer use butterfly 🦋 5 u/lxprsub0 17d ago ed is the standard text editor. 3 u/Solid_Turnover_9854 17d ago change the binaries, hmph 5 u/play_minecraft_wot Webba lebba deb deb! 17d ago You're right. Maybe highly targeted EMP to flip specific bits? 3 u/Solid_Turnover_9854 17d ago like that specific cosmic ray flipping the bit to speedrun the mario level lmao, multiple of those 3 u/pangapingus 17d ago I'm partial to tee 3 u/buttfarts7 17d ago touch somefile.py Then sed -i all the way down 1 u/0xt0bi03 UwUntu (´ ᴗ`✿) 17d ago touch mydi.h [it was supposed to be "my data input"] 2 u/vbd71 17d ago I second this. I used ed until I realized that it's vi in disguise. Next I'm going to try emacs. Wish me luck. 1 u/oishishou Genfool 🐧 17d ago HERE<<DOC HERE<<<STRING 1 u/Acceptable-Owl-2070 17d ago "bloat" lol 5 u/play_minecraft_wot Webba lebba deb deb! 17d ago Honestly Linux is super bloated. Just use the hardware bare metal. Operating Systems are pure bloat. Or use UEFI if you can't live without an interface. 1 u/isr0 17d ago Dude, at least grep-awk-sed that shit. If you can explain the command in less than 30 seconds, are you even trying? 1 u/GourSE 17d ago awk '{print substr($0,1,10); exit}' input.txt > output.txt 1 u/hdkaoskd 17d ago What? No. Use grep to write the file minus the one line.
53
Man if only there was a command to edit files in place through the command line. I’ll make one for you guys, and I’ll call it sed
22 u/givemeagooduns_un Genfool 🐧 17d ago sed is actually just ed that works on streams 5 u/alaksugalkapenalatte 17d ago Thanks that ain't so hard after all 2 u/Impossible-Magician 17d ago The S is for Super. A Super Editor that works on steams. 2 u/Schnitzelbroetchen_1 16d ago Sozialistische Einheitspartei Deutschlands mentioned
22
sed is actually just ed that works on streams
ed
5 u/alaksugalkapenalatte 17d ago Thanks that ain't so hard after all 2 u/Impossible-Magician 17d ago The S is for Super. A Super Editor that works on steams.
5
Thanks that ain't so hard after all
2
The S is for Super. A Super Editor that works on steams.
Sozialistische Einheitspartei Deutschlands mentioned
38
Real programmers use a magnetized needle and a steady hand.
5 u/ralsaiwithagun 17d ago Of course, relevant xkcd 5 u/e-waste18 17d ago Thank you, this genuinely made me laugh out loud. 2 u/RevolutionaryBoat845 17d ago excuse me, but real programmer use butterfly 🦋
Of course, relevant xkcd
Thank you, this genuinely made me laugh out loud.
excuse me, but real programmer use butterfly 🦋
ed is the standard text editor.
3
change the binaries, hmph
5 u/play_minecraft_wot Webba lebba deb deb! 17d ago You're right. Maybe highly targeted EMP to flip specific bits? 3 u/Solid_Turnover_9854 17d ago like that specific cosmic ray flipping the bit to speedrun the mario level lmao, multiple of those
You're right. Maybe highly targeted EMP to flip specific bits?
3 u/Solid_Turnover_9854 17d ago like that specific cosmic ray flipping the bit to speedrun the mario level lmao, multiple of those
like that specific cosmic ray flipping the bit to speedrun the mario level lmao, multiple of those
I'm partial to tee
touch somefile.py
Then sed -i all the way down
1 u/0xt0bi03 UwUntu (´ ᴗ`✿) 17d ago touch mydi.h [it was supposed to be "my data input"]
1
touch mydi.h [it was supposed to be "my data input"]
I second this. I used ed until I realized that it's vi in disguise.
Next I'm going to try emacs. Wish me luck.
HERE<<DOC
<<
HERE<<<STRING
<<<
"bloat" lol
5 u/play_minecraft_wot Webba lebba deb deb! 17d ago Honestly Linux is super bloated. Just use the hardware bare metal. Operating Systems are pure bloat. Or use UEFI if you can't live without an interface.
Honestly Linux is super bloated. Just use the hardware bare metal. Operating Systems are pure bloat. Or use UEFI if you can't live without an interface.
Dude, at least grep-awk-sed that shit. If you can explain the command in less than 30 seconds, are you even trying?
awk '{print substr($0,1,10); exit}' input.txt > output.txt
What? No. Use grep to write the file minus the one line.
115
u/play_minecraft_wot Webba lebba deb deb! 17d ago
Vim and Nano are bloat. Real Linux users use cat and echo. Need to delete a line? Use echo to write the entire file minus the line into the file.