On 11/26/07 at 10:29 AM, [EMAIL PROTECTED] (Steve Axthelm) wrote:

On 2007-11-26 Al wrote:

Hi.  I'm trying to figure out if it is at all possible to compare
two files, and then output the list of missing lines in one file to
a separate file.

Say, I have two documents, each containing a long list of items. The names of the documents are Document FULL and Document PARTIAL. I sort both alphabetically and do a difference between them.

I'd like to capture the list of items (rows) that exist in Document
FULL but don't exist in Document PARTIAL.  How would I go about
this?

Concatenate both docs into one file.

I think you will need to insert a Sort Lines step here before doing Process Duplicate Lines

Select Text->Process Duplicate Lines

In the options dialog select the "Matching All" radio button and
tick the "Delete Duplicate Lines" checkbox. Hit the OK button.

Another method would be to install the command line tools and use bbdiff from the terminal.

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to