Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- f() {
- (( $# >= 5 )) && echo $@
- true # for normal exit status
- }
- for (( i = ${RANDOM} % 5 + 2; i >= 0; i-- )); do # call <7 >2 times
- args=''
- for (( j = ${RANDOM} % 10; j >= 0; j-- )); do # <10 args
- args="${args} ${RANDOM}"
- done
- f ${args}
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement