I'm having a "this would be easier in awk" moment. I may go and lie down until the rage of the person I suggested it to subsides.
@d4b81373 Sure it can be done in a long pipeline using cut, grep and assorted redirections can't it No need to be awkward at all
@d4b81373 You're right. There's always Perl to fall back to.