What's the best method for parsing out data from a messy text file? or Struggling with parsing out va

22 Replies, 1654 Views

Splitting lines works *if* the delimiter is consistent, but lol when is it ever?

I’ve had some success with `perl -ne` for one-liners when parsing out values. It’s like awk but with more regex power.

For nested stuff, I just cry a little and then use `jq`.

Messages In This Thread



Users browsing this thread: 1 Guest(s)