2 ms·
In a real production environment that command line would be put into a script parametrized with named variables and the embedded awk scripts would be changed to
by kevin_thibedeau 12y ago
In a real production environment that command line would be put into a script parametrized with named variables and the embedded awk scripts would be changed to here-docs.
- peterhunt 12y agoAre you arguing that shell scripts scale to larger applications better than C#?
- mc808 12y agoSounds good although at that point it's just programming, and there are tools that are cleaner and faster and more robust than piping semi-structured strings around from a command line. The one real benefit that can be argued is ubiquity (on *ix). Not every system has Perl, Python, or Ruby installed - or Hadoop for that matter - but there's usually a programmable shell and some variant of the standard utilities that will get something done in a pinch. If it happens to be 200x faster than some enormous framework, so much the better.