I wrote this with shelly open in another window; it's intentionally got some similarities. It might be possible to extend shelly's Sh monad so it can generate shell code, rather than its current behavior of running IO actions, but that seems like a stretch to me.
4 comments
[ 2.7 ms ] story [ 21.5 ms ] threadhttp://mywiki.wooledge.org/ParsingLs