Updated SC2203 (markdown)

koalaman
2016-12-31 13:59:09 -08:00
parent 39eedfbbe7
commit fa8e02d6db

@@ -28,12 +28,4 @@ Instead, you can iterate over the filenames you want with a loop, and apply your
### Exceptions:
If you know your glob will only ever match one file, you can check this explicitly and use the first file:
```
set -- backup/*.log
[[ $# -eq 1 ]] || { echo "There are too many matches."; exit 1; }
[[ file.log -nt "$1" ]] && echo "This is the latest file"
```
Alternatively, [[ignore]] this warning.
None.