Hi guys, my supervisor has asked me to solve the problem in 7 days, I've taken 3 days to think about it but couldn't figure out any idea.
Please give me some thoughts with the following problem,
I have index.database that has only index date:
1994
1995
1996
1997
1998
1999
I have small.database.csv that contains data for some of the indexed dates but not all of them:
1995, california, A3,B6
1999, vermont, A4,B9
I want to match the small.database.csv into index.database into a combined.database.csv so it would look like:
1994,,,
1995, california, A3,B6
1996,,,
1997,,,
1998,,,
1999, vermont, A4,B9
shell scripts or perl would both be fine
Thanks a lot.
My supervisor is after me on this one.