News for hackers. Stuff that matters.
Re:GNU nano is my editor of choice by yissp on Friday August 13, 2021 @07:02PM (#28175896)
vs "lol use a real editor n00b"
Re:GNU nano is my editor of choice by ineedasername on Friday August 13, 2021 @08:19PM (#28176488)
Real developers only use cat >> <file> to edit, and start from scratch if they make a mistake.
Re:GNU nano is my editor of choice by mmastrac on Friday August 13, 2021 @08:46PM (#28176687)
That's basically edlin
Re:GNU nano is my editor of choice by hulug on Friday August 13, 2021 @10:21PM (#28177245)
In Plan 9 the terminal has something called "hold mode" which lets you do multi-line editing in that situation.
Re:GNU nano is my editor of choice by tuatoru on Friday August 13, 2021 @11:39PM (#28177640)
I guess I'm imaginary then, because I use sed -i to fix mistakes.
Re:GNU nano is my editor of choice by ineedasername on Saturday August 14, 2021 @01:17AM (#28178209)
I don't know if they're taught these days-- they weren't when I was in school-- but sed & awk are two tools I'd recommend to pretty much everyone.

I remember stumbling on to them in my first job and thinking an very much appreciating their power over having to write a small program to iterate through an arbitrary # of files to do something... and another small program if I wanted to do something slightly different, etc.

Re:GNU nano is my editor of choice by ineedasername on Saturday August 14, 2021 @01:24AM (#28178256)
If numbers can be imaginary, why not people? Many imaginary numbers are extremely useful, so there's no reason you can't lead a perfectly productive career as an imaginary person.
Re:GNU nano is my editor of choice by CUViper on Friday August 13, 2021 @11:49PM (#28177705)
Or a magnetized needle, or a butterfly...

https://xkcd.com/378/

Re:GNU nano is my editor of choice by ineedasername on Saturday August 14, 2021 @01:20AM (#28178230)
Wow, it seems I wasn't thinking low-level enough. I'll have to remember that emacs macro. If I ever get around to learning emacs.