What does :- do in bash script for parameters/arguments?

22 Views Asked by At
arg2=${arg1:-}

What does this do to arg1 when assigned to arg2? I don't see any differences when printing both args

0

There are 0 best solutions below