Timeline for compare two files based on a column and print it
Current License: CC BY-SA 4.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Aug 19, 2020 at 12:13 | history | suggested | user339704 | CC BY-SA 4.0 |
changed the typography a bit
|
| Aug 19, 2020 at 10:01 | review | Suggested edits | |||
| S Aug 19, 2020 at 12:13 | |||||
| Jun 3, 2014 at 14:45 | answer | added | steeldriver | timeline score: 0 | |
| Jun 3, 2014 at 14:30 | comment | added | user68365 | Both are 400000 lines . @steeldriver | |
| Jun 3, 2014 at 14:29 | comment | added | user68365 | @bernhard i want to see any of lines of file2 occur in column1 of file1.if it so then i need to write it to a file . | |
| Jun 3, 2014 at 12:24 | comment | added | steeldriver |
Are both files ~400,000 lines, or just file1? What is the approximate number of unique elements in file2? Are they really strings like aac,xyz (i.e. a maximum of ~26^3 unique strings)?
|
|
| Jun 3, 2014 at 10:27 | answer | added | Ángel | timeline score: 1 | |
| Jun 3, 2014 at 10:11 | comment | added | Bernhard |
The simplified version of your script would be grep -f file2 file1
|
|
| Jun 3, 2014 at 10:04 | comment | added | Bernhard |
It is not clear to me. Do you want to see of any of the lines of file2 occur anywhere in file1, or do you want to compare them row-wise.
|
|
| Jun 3, 2014 at 10:00 | answer | added | arnefm | timeline score: 0 | |
| Jun 3, 2014 at 8:59 | history | edited | Anthon | CC BY-SA 3.0 |
spelling, spaces around punctuation, formatting, capitalization
|
| Jun 3, 2014 at 8:27 | review | First posts | |||
| Jun 3, 2014 at 8:59 | |||||
| Jun 3, 2014 at 8:11 | history | asked | user68365 | CC BY-SA 3.0 |