All Questions
1
question
2
votes
2
answers
369
views
What is the right way to quote nested parameter expansions?
When dealing with with nested parameter expansions, which of these is the correct way to quote things?
This one:
var="${var#"${var%%[![:space:]]*}"}"
Or this one:
var="${var#${var%%[![:space:]]*}}"...