Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

UNIX-ification / POSIX-ification / Linux-ification (Developers)

posted by Rugxulo Homepage, Usono, 14.11.2021, 19:15

I'm struggling with the omnipresent *nix ecosystem which rules the world. "All the world's a *nix!" They had some great ideas, but it feels like everything must be shoehorned (exclusively) into "*nix or die!" (Of course that's not true, just use Windows! Ugh.)

* https://en.wikipedia.org/wiki/List_of_Unix_commands

* https://www.gnu.org/prep/standards/html_node/Utilities-in-Makefiles.html
> awk cat cmp cp diff echo egrep expr false grep install-info ln ls
> mkdir mv printf pwd rm rmdir sed sleep sort tar test touch tr true

There are many third-party *nix-standard tools that can save time and effort (less bugs), even on lowly or obsolete platforms like DOS (our favorite): DJGPP FTW!

But, like I said, everything seems to be shoehorned into "*nix only!" The Wikipedia article for literate programming (e.g. Knuth's WEB for TeX/Metafont, originally in Pascal) says Knuth was rebuked for not using *nix tools to solve a certain task more simply. It lists his opponent using: tr, sort, uniq, sed, sh. (Disclaimer: McIlroy was the proponent of *nix pipelines and developed diff, sort, join, tr.)

It's weird because everything starts simple but gets progressively more complex. Diff originally outputted to Ed, Patch came later. Ed spun off both Grep and Sed. DOS even had Edlin as a "temporary" solution. Ed also evolved into Ex/Vi and Sam. TECO evolved into Emacs. AWK (very loosely speaking) evolved into Perl and other bigger, more complex, tools.

My opinion: use *nix tools if they can help, if you can download or port them yourself, otherwise write your own simpler replacements. But I don't think it's reasonable to require every system to have a "full POSIX suite" just to rebuild simple things!

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 123 users online (0 registered, 123 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum