2 ms·
> my answer is "any programming language," That would be a terrible shell. Changing directories, listing them, moving files, running programs are all simple no
by rbanffy 6y ago
> my answer is "any programming language,"
That would be a terrible shell. Changing directories, listing them, moving files, running programs are all simple no-brainer operations in any reasonable shell, but are non-trivial in any programming language that's not designed to be a shell.
- ironmagma 6y agoSo you use the shell for things that require no brain: browsing your directory tree, casual printing of files. Then, when you need to encode these operations in a script, you pull out a scripting language, because you need more than the shell can provide with its casual nature.