DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash add default argument
somecommand ${1:-foo}
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#bash
#add
#default
#argument
ADD COMMENT
Topic
COMMENT
Name
9+2 =
Submit