| ▲ | Wowfunhappy 6 hours ago | ||||||||||||||||
> When I was a young, green, university student, I was forced to use test(1) as the only true way to do testing in shell scripting. […] Yeah, I was also forced to not use semicolons as they were evil (according to my professor, any comment unneeded!). The author’s professor clearly went overboard, but doesn’t this entire anecdote demonstrate the value of teaching it this way? Having green students call the `test` binary provides more insight into how UNIX operates, and gets them using a UNIX mindset. They can discover the syntactic shortcuts later. | |||||||||||||||||
| ▲ | ogogmad 5 hours ago | parent [-] | ||||||||||||||||
Hmm. What if we replaced the whole of bash with the contents of /bin? | |||||||||||||||||
| |||||||||||||||||