tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: jbaylis () canfor ! ca (John Baylis)
To: tru64-unix-managers
Subject: read variable in script
Date: Mon, 21 Oct 1996 19:38:09 +0000	[thread overview]
Message-ID: <96076340321692.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1996-10-21 19:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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