- for
Bash for loop on files
examples/bash/for_files.sh
#!/usr/bin/env bash # Ynon #FILES=examples/* #for f in $FILES #do # echo "File $f" #done for f in examples/* do echo "File $f" done
#!/usr/bin/env bash # Ynon #FILES=examples/* #for f in $FILES #do # echo "File $f" #done for f in examples/* do echo "File $f" done