1
0
mirror of https://github.com/koalaman/shellcheck.git synced 2025-08-11 11:18:51 +08:00
Files
shellcheck/badcase/subshellvar4
2012-11-15 23:23:08 -08:00

4 lines
82 B
Plaintext

n=0;
mycmd | while read foo; do rm "$foo"; ((n++)); done
echo "Deleted $n files"