On 12-08-09 11:39 AM, vivek poddar wrote:
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

Hi Vivek,

I have never encountered the first notation. Can you provide a reference. I might be able to help after looking at the documentation.


Thanks,
Sharad

--
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to