Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- x=1
- while read line
- do
- echo "$x $line"
- ((x++))
- done
- #!/bin/bash
- arr=("$@")
- for ((i=0;i<$#;i++))
- do
- echo "${arr[$#-$i-1]}"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement