Skip to content

Instantly share code, notes, and snippets.

@ymotongpoo
Created December 7, 2011 08:54
Show Gist options
  • Save ymotongpoo/1442059 to your computer and use it in GitHub Desktop.
Save ymotongpoo/1442059 to your computer and use it in GitHub Desktop.
find . -iname '*.txt' | xargs python -c 'import sys; print sys.argv[1:]'
find . -iname '*.txt' | python -c 'import sys; print [f.strip() for f in sys.stdin]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment