Using "${a:-b}" for variable assignment in scripts

Subscribers:
4,120
Published on ● Video Link: https://www.youtube.com/watch?v=vWgCXCQGySA



Duration: 6:02
1 views
0


Using "${a:-b}" for variable assignment in scripts
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(unix.stackexchange.com/users/31762/justin-garrison)Justin Garrison |
(unix.stackexchange.com/users/7453/slm)slm |
(unix.stackexchange.com/users/52934/mikeserv)mikeserv |
(unix.stackexchange.com/users/44356/h-j-k)h.j.k. |
A special thanks goes out to the (https://unix.stackexchange.com/questions/122845/using-a-b-for-variable-assignment-in-scripts)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

variable shell-script bash scripting







Tags:
variable
shell-script
bash
scripting