Hi All,
How do we call a method existing in another file inside awk.
After matching a pattern i want to call a method secureCopy that exists in another file, but method not getting called:
ls -l |
awk -v var2=$servername -v var1=$srcserverpath -v var3=$tgtpath '
/File19112009Name[0-9]+\.xml$/ {
printf ("abhinav");
printf ($NF);
>> method call-->> secureCopy var2 var1 $NF var3 $NF;
printf ("dikshit");
}'
---------- Post updated at 07:33 AM ---------- Previous update was at 07:10 AM ----------
From my next post i will definitely use code tags