"Post, Ethan" wrote:
>
> AH HA!
>
> just remembered it, eval
>
> Let's see if this works!
>
Ethan,
It's a bit of fudging, but what you could also do is use another
separator than a space (eg : as in dba:apps) and then use cut or awk to
slice the argument.
--
Regards,
Stephane Faroult
Or
ehalf Of
> Post, Ethan
> Sent: 06 March 2002 19:23
> To: Multiple recipients of list ORACLE-L
> Subject: RE: Korn Shell Q
>
>
> No that did not work, thanks. I remember the command I am
> more specifically looking for, it is a command that says to
> do expansion tw
Thanks to all that tried to help, that fixed it.
Surrounded the call from script A to script B with eval and it expands the
line the way I needed it.
eval "exfail.sh $EXFAIL_OPTIONS $SID"
Thanks,
Ethan
-Original Message-
Sent: Wednesday, March 06, 2002 1:23 PM
To: Multiple recipients o
AH HA!
just remembered it, eval
Let's see if this works!
-Original Message-
Sent: Wednesday, March 06, 2002 1:23 PM
To: Multiple recipients of list ORACLE-L
No that did not work, thanks. I remember the command I am more specifically
looking for, it is a command that says to do expan
No that did not work, thanks. I remember the command I am more specifically
looking for, it is a command that says to do expansion twice on a line,
anyone remember what this is?
basically if you have a variable that looks as follows
echo $FOO
-g "dba apps"
the double quotes will get exanded a
Ethan, I had a similar problem when using the getopts
command when using it in conjuction with nohup and the
&. I found by throwing ksh in the syntax everthing
worked. i.e. nohup ksh setup.ksh -a parameters &
This may or may not work for you but it's worth a try.
Scott
--- "Post, Ethan" <[EMAI
The problem is I am using "getopt" to process the switches...
while getopts :pg: option
do
case $option in
p) OPTION_p=Y ;;
g) GID=$OPTARG ;;
\?) print $OPTARG is not a valid argument. ; exit 0 ;;
esac
done
shift $(expr $OPTIND - 1)
After the shift, the $1 arg should be
Ethan --
As I understand it, your skip isn't working if there are multiple parameters
passed in, so that when you get your parameters and do your skip, you are
skipping one "word" and then the next parameter fails. If that is the case,
what you may want to do is parse out the multi-parameter str
post your script.
On Tue, 5 Mar 2002, Post, Ethan wrote:
> Forgot something the call from inside the check_all_exfail.sh script looks
> like this...
>
> exfail.sh $EXFAIL_OPTIONS $ORACLE_SID
>
> -Original Message-
> Sent: Tuesday, March 05, 2002 10:23 PM
> To: Multiple recipients of li
Forgot something the call from inside the check_all_exfail.sh script looks
like this...
exfail.sh $EXFAIL_OPTIONS $ORACLE_SID
-Original Message-
Sent: Tuesday, March 05, 2002 10:23 PM
To: Multiple recipients of list ORACLE-L
I have a shell script called exfail.sh which checks for poten
10 matches
Mail list logo