On a "standard BASH" does a wildcard inside double-quotes glob? For example:
$ touch abc
$ ls "*abc*"
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?
|
Questions on Super User are expected to relate to computer software or computer hardware within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
|
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 another exception: parameter expansion (ie: "$*") ...but that's another history For the second question: are you asking about dash? dash is a lightweight shell for scripts. In debian, and in ubuntu per extension (as is debian based), is aliased to sh; It's major advantage over bash is its speed, so it is used by default for system scripts; however bash is still available as the interactive shell for users by default
|
|||||||
|