diff --git a/SC2203.md b/SC2203.md index f3d5482..670744c 100644 --- a/SC2203.md +++ b/SC2203.md @@ -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. \ No newline at end of file +None. \ No newline at end of file