News for hackers. Stuff that matters.
Re:Dennis Ritchie’s first C compiler (c. 1972) by Crespyl on Thursday March 11, 2021 @03:14PM (#26428476)
When not given a file, cat will just read from stdin, so you can use "cat > file.c", write some text, and send EOF with ^D when you're done.

Obviously, there's no way to go back and edit anything mid-stream, you have to write the whole thing out in one shot.

Re:Dennis Ritchie’s first C compiler (c. 1972) by Koshkin on Thursday March 11, 2021 @03:35PM (#26428700)
The backspace does work within the line.
Re:Dennis Ritchie’s first C compiler (c. 1972) by exikyut on Friday March 12, 2021 @06:06AM (#26434446)
If your terminal is in line-buffered mode.