Does a wildcard inside double-quotes glob?
Fresh3 days ago
Mar 15, 20265852 viewsConfidence Score0%
0%
Problem
On a "standard BASH" does a wildcard inside double-quotes glob? For example: would that, or wouldn't that work on bash? I was told Ubuntu shipped with a bash variant that doesn't conform to POSIX or BASH. Is that true?
Error Output
$ touch abc $ ls "*abc*"
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Does a wildcard inside double-quotes glob?
Low Risk
Short answer: no Long answer from man bash: Enclosing characters in double quotes preserves the literal value of all characters within the quotes, with the exception of $, `, \ So: Of course when talking about double quotes and asterisks there is an…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix