![]() |
|
|
|
|
|||||||
| 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 |
| How to use awk instead of nawk? | kinmak | UNIX for Dummies Questions & Answers | 2 | 05-07-2008 01:34 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 | whatisthis | Shell Programming and Scripting | 3 | 09-29-2004 10:44 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
nawk -v to awk
hi,
i have the command nawk -v i want to use it equivalent in awk? any help please |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
awk -v var=value '.....' myFile
OR # 'var' will not be available in the 'BEGIN' block awk '.....' var=value myFile Last edited by vgersh99; 12-18-2007 at 04:31 AM. |
|
#3
|
|||
|
|||
|
thanks it works perfectly
happy new year |
|||
| Google The UNIX and Linux Forums |