mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Fix syntax error
@@ -28,7 +28,7 @@ rm -- !(*.c)
|
|||||||
# POSIX
|
# POSIX
|
||||||
for f in ./*
|
for f in ./*
|
||||||
do
|
do
|
||||||
case $f of
|
case $f in
|
||||||
*.c) true;;
|
*.c) true;;
|
||||||
*) rm "$f";;
|
*) rm "$f";;
|
||||||
esac
|
esac
|
||||||
|
Reference in New Issue
Block a user