2 ms·
I do a lot of processing of lists and such on the shell. I don't think I'm unique in writing union, disjoint, columns, sequence, etc. commands. I wonder how m
by protomyth 10y ago
I do a lot of processing of lists and such on the shell. I don't think I'm unique in writing union, disjoint, columns, sequence, etc. commands. I wonder how many people out there have scripts at work that are basically long pipes doing a lot of processing to get the data munged into something acceptable for a second system.
One of these days I'll rewrite mine from the 1990s era Perl and put them out there, but I got to believe others have done better.
- mitchtbaum 10y agoI'm moving toward Lua only scripting, backed by Rust only system commands (at least in model space for now). From that approach, I intend to solve this Shell use case with https://github.com/BurntSushi/fst https://github.com/BurntSushi/fst and any needed Lua syntax extensions, like http://lua-users.org/wiki/StringInterpolation http://lua-users.org/wiki/StringInterpolation , http://lua-users.org/wiki/VarExpand http://lua-users.org/wiki/VarExpand , etc. So far, I have some stacks of notes on Rust replacements and some links to Lua dialogues on similar (failed) attempts for a new shell. If you have any more points of interest or a drive to implement it, cool.