Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

default parameter value in bash

VAR=${1:-DEFAULTVALUE}
Source by coderwall.com #
 
PREVIOUS NEXT
Tagged: #default #parameter #bash
ADD COMMENT
Topic
Name
6+7 =