At 11:11 +1300 on 10/02/2009, Miraz Jordan wrote about Re: How to best combine two different Grep Patterns.xml fil:
>On Fri, Oct 2, 2009 at 09:49, Robert A. Rosenberg <[email protected]> wrote: >> While this will work, the Compare and Find Differences features have >> one basic assumption that may make their use of little value. This >> assumption is that you are comparing two files that are versions of >> the same file (ie: That file 1 had lines added and/or deleted to form >> file 2). I do not think that it works very when you have the same >> content in both files in different orders. > >Ah, good point. > >I haven't looked at the file, but could you perhaps find a way to sort >them first? I'd probably try stripping the Returns, then add Returns >in front of the start of each item, sort, and then restore line >endings as needed. > >Cheers, > >Miraz It might be simpler to do the merge by hand (and eyeball inspection). XML is a set of nested items. If you look at one, you can see the nesting level and see if there are any conflicts. If not, you just take one file and place it after the other and remove the level 1 end and start tags at the merge point. -- Robert A. Rosenberg RAR Programming Systems Ltd. Home: 845-357-0931 Cell: 646-479-1984 Fax: 646-349-4025 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. -~----------~----~----~----~------~----~------~--~---
