awk 2 variables from a single range?

From: AvidFan (noone_at_nowhere.com)
Date: 10/28/04


Date: Thu, 28 Oct 2004 06:15:06 GMT

If, in ksh, I prompt the user for a range, in the format 1-255, and I use
the read command to accept that as a single variable, how can I use awk to
split that into 2 variables? I can't seem to figure out how to use a
variable as input for awk, so that it can split it into two variables...

any suggestions?

Thanks,

AvidFan



Relevant Pages