Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: get parameter from unix shell pgm
For several command line options of the type
<executable> -a <a_option> -b <b_option> ...
in Bourne and Korn shells it is neater to use getopt. You use this in a loop and it feeds values through the environment variables OPTARG and OPTIND.
See if you can find something on this. (I could dig up an example if you need one, I'm sure.)
Len
On 3 Nov 1997 04:21:29 GMT, grpronet_at_aol.com (GRPronet) wrote:
>i need to read in parameters coming in from a unix shell pgm.
>(username,password,host string) into sqlplus. how do i do it?
>gil.
Received on Sat Nov 08 1997 - 00:00:00 CST
![]() |
![]() |