Open
Description
Useless use of cat sometimes makes a script easier to read. It's also super easy to detect and optimize away.
- Parse scripts into an AST-like structure before interpreting their contents #86
- Make
splice -x filename
a valid command. - Replace simple
cat
commands withsplice
builtin commands. -
cat filename
-> just open the input file. - Same for
splice / / filename
. - Same for
splice -x filename
. -
splice -o filename
-> just open the output file. - Update doc/styleguide/fildesh_style.md, which currently recommends UUOC even though it doesn't get optimized away.