![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script extracting the incorrect data from text file | jermaine4ever | Shell Programming and Scripting | 6 | 03-16-2009 12:18 PM |
| Incorrect login NIS? | Juterassee | SUN Solaris | 5 | 10-30-2008 11:08 AM |
| login incorrect | espace1000 | UNIX for Dummies Questions & Answers | 2 | 08-22-2008 07:48 AM |
| Login Incorrect | sydney2008 | Red Hat | 6 | 08-22-2008 05:57 AM |
| Incorrect Directory Name | jand102821 | UNIX for Dummies Questions & Answers | 1 | 06-19-2002 05:35 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Awk incorrect data.
I am using the following command: Code:
nawk -F"," 'NR==FNR {a[$2$3]=$1;next} a[$2$3] {print a[$2$3],$1,$2,$3}' file1 file2
I am getting 40 records output. But when i import file1 and file2 in MS Access i get 140 records. And i know 140 is correct count. Appreciate your help on correcting the above script |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|