nv-l
[Top] [All Lists]

[nv-l] RE: script parameter

To: "Netview - List (E-mail)" <nv-l@lists.tivoli.com>
Subject: [nv-l] RE: script parameter
From: "D'Apice, Dominic" <D.D'Apice@SAQ.qc.ca>
Date: Mon, 6 May 2002 13:12:05 -0400
Hi, i found myself the way the pass a script like a parameter

./scripts.sh "/home/ddd/scriptparam.sh"   

        #!/bin/ksh
        config=$1
      $config    

thank
>  -----Message d'origine-----
> De :  D'Apice, Dominic  
> Envoyé :      6 mai, 2002 12:31
> À :   Netview - List (E-mail)
> Objet :       script parameter
> 
> hello all aix 4.33 nv 7.1, i would like to give a script to be execute to
> another scripts like this :
> 
> ./scripts.sh "/home/ddd/config.sh"   (where "/home/ddd/config.sh" is the
> first parameter i give to the script, (include also the path,$1))
> 
> my main script is :
> 
> #!/bin/ksh
> config=$1
> $config    (where the scripts should be execute, is this the syntax should
> i use...?)
> 
> question: how is the syntax to give a scripts into another script to be
> execute at the exact line  i put in the script ?
> 
> Thank
> Dominic
> * D.D'Apice@saq.qc.ca
> 
> 

<Prev in Thread] Current Thread [Next in Thread>
  • [nv-l] RE: script parameter, D'Apice, Dominic <=

Archive operated by Skills 1st Ltd

See also: The NetView Web