Search
 
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
Name
8+2 =