Usage:
- Run as an interactive shell with
make;./nushor pass optional script input withmake;./nush [SCRIPT] - exit with
^Dorexit
nush supports seven operators:
- Redirect input:
nush$ sort < foo.txt - Redirect output:
nush$ sort foo.txt > output.txt - Pipe:
sort foo.txt | uniq - Background:
sleep 10 & - And:
true && echo one - Or:
true || echo one - Semicolon:
echo one; echo two