![]() |
|
|
|
|
|||||||
| 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 |
| problem with dd command or maybe AFS problem | Anta | Shell Programming and Scripting | 0 | 08-25-2006 07:10 AM |
| SSH Problem auth problem | budrito | UNIX for Advanced & Expert Users | 1 | 03-17-2004 07:12 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
awk problem.
Hi,
I have a file containing this data. *** *** *** 123 34 345 456 12 478 *** *** *** now i want to create a new file where third coloum is not null. i tried awk but it is not working. my command like this awk $3 != '/***/' | "{print $1 $2 $3 }" 2006.0424.0928.aqua-1.MYDOCL2A.asc > new please rectify my problem. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Code:
nawk '$3 !~ "[*]"' myFile.txt |
||||
| Google The UNIX and Linux Forums |