awohld has asked for the wisdom of the Perl Monks concerning the following question:
The screen should read like this#!/usr/bin/perl my @sitenumbers = (7,12); print "execopu -text\n"; print "cell\n"; foreach my $site_number (@sitenumbers){ print <<EOF; u csno = $site_number ccuoosmin_3g1x = "" ccuoos_3g1x = "" u EOF }
And this should continue for the rest of the script.>perl script.pl >execopu -text #This comes from my script Enter form name: cell #The computer asks for the form name +and the script populates it with "cell" and then <ENTER> Enter Operation: u #The computer asks for "Operation" an +d the script populates it with "u" and and then <Enter> Enter Value: csno = $site_number
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Auto Feeding Data to Unix Programs
by wazoox (Prior) on Apr 19, 2005 at 22:36 UTC | |
|
Re: Auto Feeding Data to Unix Programs
by fauria (Deacon) on Apr 19, 2005 at 22:53 UTC | |
|
Re: Auto Feeding Data to Unix Programs
by ikegami (Patriarch) on Apr 19, 2005 at 22:32 UTC | |
by awohld (Hermit) on Apr 19, 2005 at 22:39 UTC | |
by awohld (Hermit) on Apr 19, 2005 at 23:12 UTC | |
by ikegami (Patriarch) on Apr 20, 2005 at 03:08 UTC |