Sample Header Ad - 728x90

Join command gives incorrect output?

1 vote
2 answers
1709 views
I'm trying to join two simple files in Solaris 5.8 Version as below: ~/temp/s: cat 1 work1 a 8058 51 work2 b 15336 51 ~/temp/s: cat 2 8058 77-11:29:32 /apps/sas 15336 100-12:23:49 /local/hotfix ~/temp/s: join -1 3 -2 1 1 2 8058 work1 a 51 77-11:29:32 /apps/sas (The other line is missing from the output) The output only contains one record where it should be two. I'm really not sure where it went wrong. Is there any way we may get all the records in the output?
Asked by Avinash (413 rep)
Jul 31, 2013, 12:59 PM
Last activity: Aug 31, 2024, 04:57 AM