Same here i have not even read in any of the documents......i could let u know about the second one. ~R@J~
On Thu, Aug 9, 2012 at 9:10 PM, Sharad Birmiwal <[email protected]>wrote: > 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 > -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
