On Thu, 20 Sep 2001, gerard robin wrote:

gr> hello,
gr> sorry for this silly question,
gr> 
gr> "pon"  is a very simple script:
gr> 
gr> exec /usr/sbin/pppd call ${1;-provider}
gr> 
gr> I think that the script :
gr> 
gr> exec /usr/sbin/pppd call provider
gr> 
gr> would work too.
gr> 
gr> can someone explain me the meaning of  ${1;-provider}

if the first argument is not null, the argument is used rather than 'provider'


                                                Dingo.


                                      ).|.(
                                    '.'___'.'
                                   ' '(>~<)' '
   -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-ooO-=(_)=-Ooo-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Petr [Dingo] Dvorak                                 [EMAIL PROTECTED]
    Coder - Purple Dragon MUD                       pdragon.org port 3333
   -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 369D93 ]=-=-
      Debian version 2.2.18pre21, up 11:42, 7 users, load average: 1.00
   -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to