Comments on What does ${2-} mean in bash?
Post
What does ${2-} mean in bash?
+2
−0
I came across this in a bash script:
excludes+=("${2-}")
What is the meaning of ${2-}
?
posted 6 days ago
nogjam
21 reputation
2
1
7
8
Why does this post require attention from curators or moderators?
Why should this post be closed?
Ideal answer would point to GNU Bash Manual
nogjam wrote
6 days ago
copy link
The ideal answer would point to a section in the GNU Bash Manual: https://www.gnu.org/software/bash/manual/html_node/
Featured
Hot Posts
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