Adds the third field of every line and prints the total, ignoring anything non-numeric.
Category
Snippets in Text Processing
ripgrep finds the files, sed edits them in place. The dry run first is not optional.
jq for the common cases: reformat, pick a path, filter an array, and reshape.
Sorts on the second column and keeps the first row of each group.
grep -o prints only the matching part, which turns grep into a crude extractor.
Matches a date, optionally with a time and a zone. Deliberately strict about separators.
A one-liner that upper-cases the second field of every row, leaving the rest alone.