Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!tgr!ddaly%xls-plexus01.amc@AMC-HQ.ARPA From: ddaly%xls-plexus01.amc@AMC-HQ.ARPA (DUSTY) Newsgroups: net.unix-wizards Subject: AWK question Message-ID: <435@brl-tgr.ARPA> Date: Mon, 5-Aug-85 11:50:33 EDT Article-I.D.: brl-tgr.435 Posted: Mon Aug 5 11:50:33 1985 Date-Received: Wed, 7-Aug-85 01:56:49 EDT Sender: news@brl-tgr.ARPA Lines: 13 Does anyone know if and how I can get awk to do a >= (less than or equal) on a value entered from a terminal by the user? E.G. echo 'enter date in format yy-mm-dd \c $dt' read dt echo $dt awk '$5 >= $dt ' .suspfile >xout awk seems to ignore the terminal entered data. Is there any way to get awk to recognize this kind of variable? ed daly ddaly at amc-hq