經安全檢測,此網站為安全網站,請放心前往原始網址!

Check if a file exists with wildcard in shell script - Stack Overflow

I'm trying to check if a file exists, but with a wildcard. Here is my example: if [ -f "xorg-x11-fonts*" ]; then printf "BLAH" fi I have also tried it without the double quotes. ... If your shell has a nullglob option and it's turned on, a wildcard patter

stackoverflow.com

網址安全性掃描由 google 提供