Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site kitty.UUCP Path: utzoo!watmath!sunybcs!kitty!peter From: peter@kitty.UUCP (Peter DaSilva) Newsgroups: net.unix-wizards Subject: Re: AWK question Message-ID: <267@kitty.UUCP> Date: Wed, 7-Aug-85 11:15:31 EDT Article-I.D.: kitty.267 Posted: Wed Aug 7 11:15:31 1985 Date-Received: Wed, 7-Aug-85 23:57:36 EDT References: <435@brl-tgr.ARPA> Organization: Recognition Research Corp., Clarence, NY Lines: 10 > echo 'enter date in format yy-mm-dd \c $dt' > read dt > echo $dt awk '$5 >= '"$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? Enclose it in quotes that don't over-ride variable substitution.