Skip to main content

Timeline for Compare two files with awk

Current License: CC BY-SA 3.0

18 events
when toggle format what by license comment
Dec 23, 2015 at 17:46 history edited jimmij CC BY-SA 3.0
added 31 characters in body; edited title
Dec 23, 2015 at 13:34 comment added terdon @ChrisJ don't apologize, fix it :). Edit your question as requested and show us something that is actually representative of your data. Comments are easy to miss and can be deleted without warning. All relevant information must be in the question itself. You mentioned you can have duplicate lines. You need to show that in your example.
Dec 23, 2015 at 12:34 comment added chaos What is the exact output (post it with all example lines please) you want from this 2 files?
Dec 23, 2015 at 12:32 history edited Chris J CC BY-SA 3.0
added 25 characters in body
Dec 23, 2015 at 12:26 comment added Chris J @terdon, I need each line to be printed not just one, sorry i would have been more specific.
Dec 23, 2015 at 12:24 history edited Chris J CC BY-SA 3.0
deleted 1 character in body
Dec 23, 2015 at 11:38 answer added jimmij timeline score: 4
Dec 23, 2015 at 11:22 answer added Sobrique timeline score: 0
Dec 23, 2015 at 11:19 answer added chaos timeline score: 6
Dec 23, 2015 at 11:15 comment added terdon Please edit your question and clarify. Both lisa's and smither's codes are present in File1, why should only bart be printed?
Dec 23, 2015 at 11:13 history edited terdon CC BY-SA 3.0
Thanks and please are implied here. Please only ask the question.
Dec 23, 2015 at 11:12 comment added Sobrique Also: If you join on numeric key, you the smithers record also matches.
Dec 23, 2015 at 11:12 comment added Chris J Hi, nope, anything that will get the job done. Cheers
Dec 23, 2015 at 11:11 comment added user86969 You may be more successful with join, IIRC.
Dec 23, 2015 at 11:11 comment added Sobrique Does it have to be awk?
Dec 23, 2015 at 11:10 history edited terdon CC BY-SA 3.0
added 21 characters in body; edited tags
Dec 23, 2015 at 11:03 review First posts
Dec 23, 2015 at 11:11
Dec 23, 2015 at 11:01 history asked Chris J CC BY-SA 3.0