Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !/bin/bash
- if [[ $# -lt $((10)) ]]
- then
- cnt=1
- for param in "$@"
- do
- echo parameter $cnt = $param
- cnt=$(( $cnt + 1 ))
- done
- else echo no parameters
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement