× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This worked thanks. I have another question, but for the sake of the
archives, I will start a new thread.

On 2/16/06, Rich Duzenbury <rduz-midrange@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Thu, 2006-02-16 at 09:02 -0600, Mike Wills wrote:
> > There is a Perl script I got from our vendor that is used to install
> > patches. Rather cool and automated, however it is a manual process.
> >
> > Anyway, within the script, it prompts for a couple pieces of additional
> > information that would be nice to be able to automate so I don't have to
> > enter this information in all the time. Is there a way to enter
> information
> > into a prompt for a qsh session?
> >
> > Here is an example of what I have to enter:
> >
> > perl $GENDIR/bin/appinstall81.pl 8.1.0.1_patch_150576.tar
> >
> > ***Patch Install begun on 02/16/2006 8:56:16 - User: XXXXXXXX - Env:
> LAW8D
> > ***
> > What is your LAWSRC8 Library?
> >
> > LAWSRC8D
> >
> > What is your LAWPGM8 Library?
> >
> > LAWPGM8D
> >
> >
> > I realize I could hack the Perl script, but I would prefer to not have
> to if
> > possible.
>
> I would try input redirection.
> Create a text file with two lines in it that match your answers, name it
> inputfile
>
> LAWSRC8D
> LAWPGM8D
>
> then run the program thusly
> perl $GENDIR/bin/appinstall81.pl 8.1.0.1_patch_150576.tar < inputfile
>
> The program should then receive it's input from the file, rather than
> the keyboard.
>
> --
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
> list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>
>


--
Mike Wills
koldark@xxxxxxxxx
http://mikewills.name
http://theriverbendpodcast.com

"There are 10 types of people in the world: those who understand binary, and
those who don't." -Unknown

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.