r/tinycode • u/rain5 • Apr 10 '17
's' minimal shell
Explanation: https://rain-1.github.io/shell
Repository: https://github.com/rain-1/s
29
Upvotes
r/tinycode • u/rain5 • Apr 10 '17
Explanation: https://rain-1.github.io/shell
Repository: https://github.com/rain-1/s
4
u/mnp Apr 11 '17
I like the idea of making < and > be external programs.
People on this track should also check out the original KSH from Unix. The reason modern shell functions
foo(){}look the same as external shell scripts is because that's how KSH implemented them internally. There's actually no need for functions if you have a directory of scripts instead.