3 ms·
You don't need to wonder, because jc is a filter that does just that! https://kellyjonbrazil.github.io/jc/ https://kellyjonbrazil.github.io/jc/
by Kim_Bruning 5y ago
You don't need to wonder, because jc is a filter that does just that!
https://kellyjonbrazil.github.io/jc/ https://kellyjonbrazil.github.io/jc/
- robert_tweed 5y agoIt even claims to parse ls output correctly (see caveat): https://kellyjonbrazil.github.io/jc/docs/parsers/ls https://kellyjonbrazil.github.io/jc/docs/parsers/ls
- kortex 5y ago> >>> import jc.parsers.dig I think "jc" stands for "jesus christ!" because I just exclaimed that out loud thinking about the amount of time I've wasted trying to parse dig outputs, or something similar. Spent a nontrivial amount of time looking for lightweight tools to convert the typical "fwf" of coreutils style programs. Definitely running "pipx install jc" immediately (pipx is great for managing python-based executable programs, avoid the mess of venvs).