Skip to content

Instantly share code, notes, and snippets.

@Misaka-0x447f
Last active January 22, 2026 11:15
Show Gist options
  • Select an option

  • Save Misaka-0x447f/a460e0d2bc40a464e8111b72fa4f38ee to your computer and use it in GitHub Desktop.

Select an option

Save Misaka-0x447f/a460e0d2bc40a464e8111b72fa4f38ee to your computer and use it in GitHub Desktop.
\b(cat|grep|head|tail|find|ls|wc)\b([^|]*(\|\s*(cat|grep|head|tail|find|ls|wc)\b[^|]*)*)
^\Qgit diff \E[\w\/\.\-\s]+$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment