I have a question, I am wondering how to take 2 different files each having a unique hash key, which we will call $login, which is at the beginning of the line, and that key on each line is the only thing about them that is the same, take line by line or by iteration the contents of the first one add the contents of the second one after the key to the end of the first files line contents, per unique key, and kick out a third file which is in this format line by unique key line:
or just take the first file contents add the second file contents -minus the $login add the contents to the end of the firsts and produce a third. Thanks.unique $login:$info from first file:info from second file another unique $login:info from first file:info from second file yet another unique $login:first file contents:second file contents ...........
edited: Wed Nov 5 23:03:25 2003 by jeffa - code tags, p tags
In reply to compare 2 files and print to a third by tux242
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |