[HPADM] Shell que's

From: AAghada@anb.com.sa
Date: Tue Aug 27 2002 - 07:40:33 EDT


This is my first mail to this list. So a Big Hii... to all admins.

Can some body please help in solving my shell que's. ? I want to parse some
variable from shell to awk ( without using export ).
for ex. if $1 & $2 are 2 arg's, then i want to use it in awk statement
like

      awk '{ if ( ($SHELL_Variable1 < $1) && ($SHELL_Variable2 >
$2) ) print "something" }'

I tried with $ ' "${ SHELL_Variable1} " ' in all of the above forms;
but its not working.

Appreciate your help

Abh

-----------

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:18 EDT