pętla bash nad plikami z rozszerzeniem
for i in *.java; do
[ -f "$i" ] || break
...
done
The Code Doctor
for i in *.java; do
[ -f "$i" ] || break
...
done