News for hackers. Stuff that matters.
Re:Learn GNU Awk with hundreds of examples and exercises by asicsp on Monday August 28, 2023 @10:05AM (#37294175)
Check out https://github.com/sstadick/hck and https://github.com/theryangeary/choose - both are alternatives for cut/awk and allows regex based split as well. Though, they don't remove starting/ending whitespaces IIRC.

I wrote a script (https://github.com/learnbyexample/regexp-cut) that uses `awk` to provide a `cut`-like tool with regex-based split, negative index, etc. And this will take care of starting/ending whitespaces as that's the default `awk` behavior.

There are no comments on this comment yet.