* nawk passed variable
@ 1996-11-21 23:11 apaige
0 siblings, 0 replies; only message in thread
From: apaige @ 1996-11-21 23:11 UTC (permalink / raw)
To: tru64-unix-managers
I am now having problems with the UNIX nawk command.
I am prompting a user for a value (any numeric value) and if the user
inputs 100 or higher the program crashes
stating that only a value between 0 and 99 will be accepted. Can anyone
help me with this?
here is the basic code
echo "enter any numeric value"
read xinput
nawk -F: -v xray="$xinput" 'BEGIN { header printed here}
{value in $xinput to be proccessed here}' external file data name
here.
Thanks
Andre'
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-11-21 23:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-21 23:11 nawk passed variable apaige
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox