Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Posts by nogjam‭

3 posts
75%
+4 −0
Meta Do domain-specific how-to's fit well within Q&A?

I've recently gained some PAM (Pluggable Authentication Modules) knowledge. I had written a Reddit post plus reply and then thought the stuff I shared would fit well here. Do domain-specific how-t...

2 answers  ·  posted 6mo ago by nogjam‭  ·  last activity 6mo ago by Andreas witnessed the end of the world today‭

Question discussion
66%
+2 −0
Q&A What does ${2-} mean in bash?

I came across this in a bash script: excludes+=("${2-}") What is the meaning of ${2-}?

1 answer  ·  posted 22d ago by nogjam‭  ·  last activity 20d ago by nogjam‭

66%
+2 −0
Q&A What does ${2-} mean in bash?

The dash, -, is part of a Parameter Expansion syntax that tells Bash to check for existence of the preceding parameter, a.k.a. whether it is "set", substituting whatever follows if it isn't. For th...

posted 22d ago by nogjam‭  ·  edited 20d ago by nogjam‭

Answer