Created
October 28, 2016 06:01
-
-
Save petrabarus/59a512b9e04bfc465d33b555308e6747 to your computer and use it in GitHub Desktop.
Execute random variable for each xargs argument
This file contains hidden or 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
#!/usr/bin/env bash | |
seq 10 | xargs -I X bash -c "echo X \$RANDOM" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment