DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: NANY 2010 WITHDRAWN: Crush DocMerger  (Read 6,918 times)

Crush

  • Hello dude!
  • Member
  • Joined in 2006
  • **
  • Posts: 402
    • Participated in NANY Challenge Three Times
NANY 2010 WITHDRAWN: Crush DocMerger
« on: November 07, 2009, 09:10 PM »
Ok, here´s my first idea. What about a multiple text-mixer, not only looking for differenz existances of single lines - it can also take care of existing blocks with extension by some rules.
Example: You have a file that contains all your registrered keys - after some time you started a new file or made a copy of the old one with changes. Later on you have 10 files containing all your keys spreaded at different places. Now you want to merge them without losing a key. All doubled blocks should be eliminated and repeating blocks with differences shall be composed to a block containing a mixture of both.
It´s not as easy as it sound - especially implementing some kind of "rules" that are signing block as lines with "-------------" or doubled newlines but I think this could be rather useful for different things.
If you have any suggestions what other useful functions could be implemented, tell me. I´m starting it now.
« Last Edit: December 21, 2009, 02:43 AM by Perry Mowbray »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Crush DocMerger
« Reply #1 on: November 10, 2009, 06:39 AM »
i have a hard time envisioning a real world use for this.. though maybe some people can.

Crush

  • Hello dude!
  • Member
  • Joined in 2006
  • **
  • Posts: 402
    • Participated in NANY Challenge Three Times
Re: Crush DocMerger
« Reply #2 on: December 20, 2009, 09:58 PM »
You´re right. So I discard this project and start another one here.

Original address: https://www.donationcoder.com/forum/index.php?topic=20543.0