Re: Is it possible to return the line available in FILE1 but not FILE2 in diff?

John Cowan <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
Charles Swiger scripsit:

> Using diff will show removed lines with a "-"; 

That's diff -u format.

> using the comm utility since that might be closer to what you want...

That only works if the files are both sorted.

-- 
Using RELAX NG compact syntax to        John Cowan <[email protected]>
develop schemas is one of the simple    http://www.ccil.org/~cowan
pleasures in life....
        --Jeni Tennison                 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.