Skip to content

Instantly share code, notes, and snippets.

@lavk7
Created August 19, 2020 02:42
Show Gist options
  • Save lavk7/36c3fbffd3bec87372b09bb7161e2083 to your computer and use it in GitHub Desktop.
Save lavk7/36c3fbffd3bec87372b09bb7161e2083 to your computer and use it in GitHub Desktop.
[Find Regex] #find #linux #shell
find . \( -name "*.msa" -o -name "*.lambda" -o -name "*.front" \) | xargs basename | sed -E 's/(.*)\.(msa|lambda|front)/\1/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment