Hi!
I am new to shell scripts but trying to learn it by heart. Recently I came
through a confusing part, there are two ways to assign values to a variable:
1. : ${HOME:-$HOME}
2. HOME=$HOME
I am not able to understand the diff b/w the above two notation and which
one is better to use.
Thanks and Regards!
--
-*- *Vivek Poddar* -*-
*Technical consultant (OpenERP)*
*Blog:http://vivekimsit.blogspot.in/
*
--
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
