Skip to content

Instantly share code, notes, and snippets.

@abstrctn
Created June 7, 2012 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abstrctn/2890978 to your computer and use it in GitHub Desktop.
Save abstrctn/2890978 to your computer and use it in GitHub Desktop.
[glob]
#!/bin/bash
find . -name "*$1*"
[fglob]
#!/bin/bash
# find . -name "*$1*"
find . -name "*$1*" -print -quit | xargs open
[xmlformat]
#!/bin/bash
find . -name "*.xml" -type f -exec xmllint --format {} --output {} \;
glob | xargs grep "\">\w"
glob | xargs grep "\w>\w"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment