[HPADM] RE: Script question
From: Sweetser, Joe P. - PW Fleet (Joseph.Sweetser_at_ci.denver.co.us)
Date: 05/21/04
- Previous message: Sweetser, Joe P. - PW Fleet: "[HPADM] Script question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 21 May 2004 10:27:05 -0600 To: "Sweetser, Joe P. - PW Fleet" <Joseph.Sweetser@ci.denver.co.us>, <hpux-admin@DutchWorks.nl>
OK. Got it. I think.
Read ANS < /dev/tty
Sometimes I just gotta write things down to figure 'em out!
joe
> -----Original Message-----
< snip>
>
> This should be simple, but my head is starting to hurt from hitting
> against the wall.
>
> I have a script that reads input from a file in a while loop, labels
> tapes based on the data in the file, umounts the tape after labeling,
> and prompts the user to put in another tape. The problem is the read
> command inside the while loop reads from the file (STDIN, I
> guess) and I
> want it to read from the terminal. Is there a way to make
> read do this?
> Can I use a re-direct to force it to read from the command line?
>
> ADVthanksANCE,
> joe
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
- Previous message: Sweetser, Joe P. - PW Fleet: "[HPADM] Script question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|