Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- files=(*)
- for file in $files
- do
- echo $file
- done
- # This demonstrates that the array in fact has the values from (*)
- echo ${files[0]} ${files[1]}
- echo done
- echo.sh
- echo.sh read_output.sh
- done
- for file in "${files[@]}"
Add Comment
Please, Sign In to add comment