[nflug] merge two mail files

eric eric at bootz.us
Thu Dec 13 10:51:23 EST 2007


kitty cat worked just fine thanks


Brad Bartram wrote:
> Convert both files to valid XML.  Write a SOAP service using the 
> language of your choice that will take the XML input and write it to a 
> single file.  Send both XML docs to the new SOAP service.  Covert your 
> XML file back to plaintext.
>
> Couldn't be any simpler!
>
> (Sorry, just gettin' stupid this morning while waiting for my database 
> to finish its processing)
>
>
>
> On Dec 13, 2007 11:03 AM, Robert Meyer <meyer_rm at yahoo.com 
> <mailto:meyer_rm at yahoo.com>> wrote:
>
>     How about everybody's good friend 'cat'?
>
>     cat file1 file2 > file3
>
>     creates a new file 'file3' with the contents of  'file1' and
>     'file2' concatenated or
>
>     cat file1 >> file2
>
>     Appends 'file1' to the end of  'file2'.
>
>     I'm sure that we'll see perl, ruby, php and a whole host of other
>     solutions.  The more complicated the better.  If you can't think
>     of at least 3 ways to do something in Unix/Linux, you're not
>     thinking hard enough.
>
>     Cheers!
>
>     Bob
>     --
>     "When once you have tasted flight, you will forever walk the earth
>     with your eyes turned skyward, for there you have been, and there
>     you will always long to return."
>     --Leonardo da Vinci
>
>
>     ----- Original Message ----
>     From: eric < eric at bootz.us <mailto:eric at bootz.us>>
>     To: nflug at nflug.org <mailto:nflug at nflug.org>
>     Sent: Thursday, December 13, 2007 10:08:09 AM
>     Subject: [nflug] merge two mail files
>
>     Hi :)  I want to merge two mail files nicely, I don't care which is
>     appending to which.  Can some jog my memory on how to do this
>     simple task?
>     Thank you very much... oh the files are 8mb and 3mb in size if
>     that matters.
>     Thanks again,
>     Eric
>     _______________________________________________
>     nflug mailing list
>     nflug at nflug.org <mailto:nflug at nflug.org>
>     http://www.nflug.org/mailman/listinfo/nflug
>
>
>     ------------------------------------------------------------------------
>     Never miss a thing. Make Yahoo your homepage.
>     <http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
>
>     _______________________________________________
>     nflug mailing list
>     nflug at nflug.org <mailto:nflug at nflug.org>
>     http://www.nflug.org/mailman/listinfo/nflug
>     <http://www.nflug.org/mailman/listinfo/nflug>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>   



More information about the nflug mailing list