tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* read variable in script
@ 1996-10-21 19:38 jbaylis
  0 siblings, 0 replies; only message in thread
From: jbaylis @ 1996-10-21 19:38 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-10-21 19:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-21 19:38 read variable in script jbaylis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox