Unquoted Variables and Globs
pattern="*.log" and the directory has a.log and b.log. What does echo $pattern print?
pattern="*.log"
a.log
b.log
echo $pattern
Choose one answer
$pattern
a.log b.log
An error: variables can't contain wildcards.
*.log