Skip to main content
3 events
when toggle format what by license comment
May 1, 2019 at 10:39 comment added WinEunuuchs2Unix The answer in part was to show how tr can be used to condense continuous white space into single space so cut would work. OP had said how cut wasn't working when multiple spaces separated columns. It's helpful when OP has existing code using cut and just needs to add one little thing into the pipeline (|).
May 1, 2019 at 7:56 comment added terdon Mod My love for awk is deep and pure, but if you want speed cut will always win for those few cases where it can be used. I mean, awk is far more versatile, but for the simple tasks where you can use either awk or cut, cut will always be faster.
May 1, 2019 at 6:24 history answered Rinzwind CC BY-SA 4.0