Timeline for Comparing two files and print empty line for unmatched?
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 15, 2018 at 17:56 | comment | added | Lona gracia | Thanks. work perfectly without any false positive. | |
| Jun 15, 2018 at 17:56 | vote | accept | Lona gracia | ||
| Jun 13, 2018 at 20:11 | comment | added | glenn jackman | But does not limit the matches to column 3. You can get false positives | |
| Jun 13, 2018 at 19:49 | history | edited | Timothy Pulliam | CC BY-SA 4.0 |
fix logic
|
| Jun 13, 2018 at 19:49 | comment | added | DopeGhoti |
Try it again with N3 on the first line and N1 on the last line in one file; you will still see "matches".
|
|
| Jun 13, 2018 at 19:49 | comment | added | Timothy Pulliam |
Actually, I did need to fix the logic however. && needed to be ||
|
|
| Jun 13, 2018 at 19:49 | history | edited | Timothy Pulliam | CC BY-SA 4.0 |
fix logic
|
| Jun 13, 2018 at 19:48 | comment | added | Timothy Pulliam | @DopeGhoti Not true. The grep searches the entire file and picks the line that matches. | |
| Jun 13, 2018 at 19:45 | comment | added | DopeGhoti | Will not work as intended if matching data are on different lines. | |
| Jun 13, 2018 at 19:41 | history | answered | Timothy Pulliam | CC BY-SA 4.0 |