The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: Help Required
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 11-24-2008
wakhan wakhan is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 58
HELP REQUIRED (Thnaks.............)

Thanks jim mcnamara!!

The code really works now according to my requirement.

I have made little more change as below.

#!/bin/ksh
VAL='601 602 603 604 605 ....................'
for i in $VAL
do
nawk -v TG="$i" ' BEGIN { printf(.............).rest of nawk code'
done

USAGE# ./tgcmp701

SIMPLE!!!

Thanks ALOT!!!