[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About a shell syntax
From: |
Dan Hipschman |
Subject: |
Re: About a shell syntax |
Date: |
Mon, 30 Jun 2008 10:51:56 -0700 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Mon, Jun 30, 2008 at 03:12:29AM -0700, parag wrote:
> hi All,
> I tried searching for the below mentioned variable
>
> ${DASHE:-0}
>
> What does it do?
It's in the bash manpage under Parameter Expansion:
${parameter:-word}
Use Default Values. If parameter is unset or null, the
expansion of word is substituted. Otherwise, the
value of parameter is substituted.