Skip to content

Instantly share code, notes, and snippets.

@devtin
Created May 4, 2022 20:19
Show Gist options
  • Save devtin/3476483351272f443f702fd894507c0c to your computer and use it in GitHub Desktop.
Save devtin/3476483351272f443f702fd894507c0c to your computer and use it in GitHub Desktop.
cli regex extract
perl -n -e'/(\d+) events processed!/ && print $1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment