I came across this in a bash script:
excludes+=("${2-}")
What is the meaning of ${2-}
?
The ideal answer would point to a section in the GNU Bash Manual: https://www.gnu.org/software/bash/manual/html_node/
This community is part of the Codidact network. We have other communities too — take a look!
You can also join us in chat!
Want to advertise this community? Use our templates!
Like what we're doing? Support us! Donate
1 comment thread