Announcement

Collapse
No announcement yet.

how to save a the matching part of the file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to save a the matching part of the file

    Hi,

    I'm comparing two files. The left file has more lines than the right file. The left file has different text than the right file, but in each line there are 8 characters that I match on. In other words, my rules are: where these 8 chars match, compare. Everything else is unimportant.

    This gives me lots of lines on the left, and a lot of whitespace on the right, and a few lines that match up.

    Example:

    12345abcd 98765abcd
    12345abcc
    12345abcb
    12345abca 12356abca

    Then, I change my view to show only matches.

    Example:

    12345abcd 98765abcd
    12345abca 12356abca

    The data on the left is still somewhat different, but because of my rules, it is unimportant to BC.

    Now, I want to save only the matching lines from the left file, so that I get a fewer number of lines.

    Example New File Contents:

    12345abcd
    12345abca


    How do I do that?

  • #2
    Re: how to save a the matching part of the file

    I figured it out.

    Select the left hand side records, then paste them into a new empty file.

    Thanks!

    Comment

    Working...
    X