Re: str=${2:-"null"}
am 01.02.2008 18:01:00 von Stephane CHAZELAS
On Fri, 1 Feb 2008 08:54:23 -0800 (PST), Ciur Eugen wrote:
> what is the meaning of expession inside brackets ?
> str=${2:-"null"}
> columns are separator ? are in brackets 2 values?..
> How about this expression ?
> str=${name:=1}
> (without - )
man sh | less +/:-
--
Stephane
Re: str=${2:-"null"}
am 01.02.2008 18:15:37 von Jenea Ciur
On Feb 1, 7:01=A0pm, Stephane Chazelas
wrote:
> On Fri, 1 Feb 2008 08:54:23 -0800 (PST), Ciur Eugen wrote:
> > what is the meaning of expession inside brackets ?
> > str=3D${2:-"null"}
> > columns are separator ? are in brackets 2 values?..
> > How about this expression ?
> > str=3D${name:=3D1}
> > (without - )
>
> man sh | less +/:-
>
> --
> Stephane
wow, cool.
Thank you !