![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|||
| Google The UNIX and Linux Forums |
| Forum Sponsor | ||
|
|