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:
|
### Correct code:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
echo /directory/*mystring*
|
ls /directory/*mystring*
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
|
Reference in New Issue
Block a user