The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to access values of awk/nawk variables outside the awk/nawk block? saniya Shell Programming and Scripting 5 05-13-2008 04:37 AM
nawk & awk sd12 UNIX for Advanced & Expert Users 5 05-05-2008 07:46 AM
nawk/ksh help DeltaX Shell Programming and Scripting 0 03-06-2008 12:54 PM
nawk use ctap UNIX for Advanced & Expert Users 2 01-17-2008 03:45 AM
help with Awk or nawk Gerry405 UNIX for Dummies Questions & Answers 2 11-28-2005 10:00 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-09-2005
Registered User
 

Join Date: May 2005
Posts: 54
nawk in unix

Hi,

Can anyone helps me to debug this script in brief. I am very new to awk.
*************************************************
+ nawk -v INPUTFL=/opt/projects/oracle/export/ahdp/full.par -v INPUTFL2=full.par -v WSTDIR=/gsdprd01/oraout01/logs/ahdp/EXPWRK1364128

BEGIN{FS="."}
{printf("egrep -v \"PARENTP|MANLPAR|PARLIST|DELEXPDIR\" %s>$TDIR/%s.%s;
echo export PARENTP=N>>$TDIR/%s.%s;
echo export PARLIST=%s>>$TDIR/%s.%s;
echo export MANLPAR=Y>>$TDIR/%s.%s;
echo export TDIR=%s>>$TDIR/%s.%s\n",INPUTFL,INPUTFL2,$1,INPUTFL2,$1,$1,INPUTFL2,$1,INPUTFL2,$1,WSTDIR,INPUTFL2,$1)} /gsdprd01/oraout01/logs/ahdp/EXPWRK1364128/ALLPAR/AHDP
+ sort + 1>> /gsdprd01/oraout01/logs/ahdp/EXPWRK1364128/gettbslst

*************************************************

Malay
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:21 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0