|
|
|
|
|
by barrkel
4151 days ago
|
|
OK. How do you easily fork to run a command in the background? How does setting up pipes work? What's the idiom for chdir'ing to a subdirectory such that you pop back out again when you're done (I'd use a subshell with (ch xxx; ...) in bash)? Getting into more tricky stuff, what's the equivalent of <() in bash? This doesn't really demonstrate anything that shell scripts are actually written for: orchestrating and composing other processes, and job control. If you wanted to leverage type checking for safety, it would be more interesting to typecheck the streams input and output by pipes. |
|
Nothing tricky about it.