From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076341621715.tru64-unix-managers.marc@archive.invalid> From: apaige () idulab ! gov Date: Thu, 21 Nov 1996 23:11:58 +0000 To: tru64-unix-managers Subject: nawk passed variable X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076341621715 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'