mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
echo glob
to ls glob
@@ -15,7 +15,7 @@ rm $(ls | grep -v '\.c$')
|
||||
### Correct code:
|
||||
|
||||
```sh
|
||||
echo /directory/*mystring*
|
||||
ls /directory/*mystring*
|
||||
```
|
||||
|
||||
or
|
||||
|
Reference in New Issue
Block a user