It is currently Tue, 07 Dec 2021 02:44:16 GMT

Author Message
 awk and sh variables in a shell script
In article: <3et2dg$> (S.RamNarayan) writes:
Only if your awk==nawk, which includes this, try also:

cat $j | awk '{print "rect ("$2","$3") ("$2+$4","$3+$5") '"$name"' /ICONTACT/"$1}'>> $;
                                                         ^       ^
This should  present the contents of your shell variable in the awk
Good Luck!
Phil Cramp
#include <std/disclaimer>

 Tue, 01 Jul 1997 15:58:01 GMT   
   [ 1 post ] 

Similar Threads

1. awk and sh variables in a shell script

2. help for newbie: way to get the value of an awk variable in a shell script

3. file contents into variable, or global variable from shell script

4. export variables to calling shell in a shell-script

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software