Timeline for compare two files based on a column and print it
Current License: CC BY-SA 3.0
        5 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 3, 2014 at 15:49 | comment | added | user68365 | i am using solaris 10 ,even after trying the second method same persists | |
| Jun 3, 2014 at 15:13 | comment | added | steeldriver | Sorry I am not familiar with the capabilities of your platform's version of awk - in case it does not support the FNRextension, you could try testing the file name instead i.e.awk 'FILENAME=="file2" {a[$1]++}; FILENAME=="file1" && a[$1]' file2 file1 | |
| Jun 3, 2014 at 14:56 | comment | added | user68365 | I am using Ksh here . | |
| Jun 3, 2014 at 14:56 | comment | added | user68365 | The awk gives out an error like this awk: syntax error near line 1 awk: bailing out near line 1 | |
| Jun 3, 2014 at 14:45 | history | answered | steeldriver | CC BY-SA 3.0 |