Berkeley CSUA MOTD:Entry 39979
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2020/08/03 [General] UID:1000 Activity:popular
8/3     

2005/10/4-6 [Uncategorized] UID:39979 Activity:nil
10/4    I have two files that seem to only differ only in the number of
        blank lines in between some of the text. Any easy way to confirm this
        with diff or maybe to pipe it through something to remove blank lines?
        \_ Well, a quick "man diff" says: diff -B file1 file2 --dbushong
           \_ I tried that but thought I was doing somethign wrong.
              Thanks, I see the difference in the files now!
              \- you can use an appropriate incantation of "tr" to squeeze
                 whitespace. different trs support different options so
                 i cant give you an optimal command line.