2 ms·
Yeah, of course. But why is this video claiming they are Unix commands when they are not? Are these just little shell scripts designed for the camera?
by smabie 6y ago
Yeah, of course. But why is this video claiming they are Unix commands when they are not? Are these just little shell scripts designed for the camera?
- anthk 6y agoThey may be, or not. Long ago grep was composed of an ed script (g/re/p), and a spell checker was trivially done this way over grepping /usr/share/dict/words. The point is to show pipes to the public so they understand command chaining.
- LeoPanthera 6y agoMaybe the idea is that every shell script compromised of existing, simpler commands, is automatically itself a "command" in UNIX. Obvious and simple today, but not a common concept when this video was made.
- TomMarius 6y agoWasn't that the same in operating systems like MS-DOS and its predecessors, and on Apple computers as well?
- nineteen999 6y agoWell yeah I guess if you are thinking in terms of batch scripts, but DOS didn't exist until 1980, and UNIX had already been doing this within a multiuser, multitasking environment since at least 1972.
- TomMarius 6y agoOh, my bad, I confused the decade.
- deviantfero 6y agoKernighan is good at explaining things, so I'm guessing he wanted to make it as simple as posible, some of those just don't roll of your tongue as well as the aliased versions
- sergeykish 6y ago> existing UNIX programs (on your machine). They emphasize that users build their own vocabulary. And it is quite possible these command were shared inside AT&T.