Skip to content

Instantly share code, notes, and snippets.

@mmaha
Created December 13, 2011 15:45
Show Gist options
  • Save mmaha/1472598 to your computer and use it in GitHub Desktop.
Save mmaha/1472598 to your computer and use it in GitHub Desktop.
xargs with multiple commands
ls *.wlst | xargs -I{} -n 1 sh -c "echo '--- {} ---'; cat {}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment