Last active
August 29, 2015 14:08
-
-
Save nlitsme/788f133c484c8841df06 to your computer and use it in GitHub Desktop.
simplify xargs -0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
tr -d "\r" | tr "\n\\" "\0/" | xargs -0 "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment