Show HN: Using Rust to write shell-script like tasks
  > A lot developers just choose shell(sh, bash, ...) scripts for such tasks,
  > by using  to redirect output and '|' to pipe outputs.
  > In my experience, this is the only good parts of shell script.

If you try to use shell as a general purpose programming language, of course it sucks.If you treat shell as a DSL for files and streams, nothing can beat it. Shell is amazing.I'm sceptical a bunch of Rust macros can beat shell. I think you'd better off writing a few smaller programs that use STDIO and stringing them together with shell.