Highly reminiscent of #378: * nano? Real Programmers use emacs. * Hey. Real Programmers use vim. * Well, Real Programmers use ed. * No, Real Programmers use cat. * Real Programmers use a magnetized needle and a steady hand. * Excuse me, but Real Programmers use butterflies. They open their hands and let the delicate wings flap once. The disturbances ripple outward, changing the flow of the eddy currents in the upper…
How can you even use cat to write? I understand dd or echo, but cat by itself? Cat /dev/whatever and a steady hand?
$ cat test
> this is a test text file
> written with cat
> EOF
$ cat > test
> this is an extra line at the end
> EOF
$ cat test
this is a test text file
written with cat
this is an extra line at the end
But not sure how you modify them. An option will be using other tools but that makes cat incapable of being a text editor.