read variable in script

From: John Baylis <jbaylis_at_canfor.ca>
Date: Mon, 21 Oct 1996 12:38:09 -0700

Help osf1 administrators.

I have script # 1 which calls script # 2

script # 1 contains:

su - oracle -c /u01/home/oracle/product/7.1.6/bin/db_test
print " enter anything to continue"
read junk

script # 2 (db_test) contains:

env


however, when I execute script # 1,
I get the "enter anything to continue" message
but it will not accept anything for the read command.
The process is hung.

Is this a bug or what?

If I remove the first - from the su command, it works.
With the - and everything removed out of my .profile and still have a problem.

TIA
Received on Mon Oct 21 1996 - 22:44:04 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT