3 ms·
I use a ton of inline shell in make for data munging. I often put SHELL=/bin/bash at the top of the Makefile when I use bashisms to construct complex pipeline
by epistasis 13y ago
I use a ton of inline shell in make for data munging. I often put
SHELL=/bin/bash
at the top of the Makefile when I use bashisms to construct complex pipelines.
And once, in a fit of mad genius, I made a particularly complex and useful Makefile executable by putting #!/usr/bin/make -f at the top. (It was a bad idea, obviously, and I won't be doing that again.)
For large file based datasets, the shell is just a REPL.