home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / perl / 5834 < prev    next >
Encoding:
Text File  |  1992-09-10  |  1.6 KB  |  36 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!sh.wide!wnoc-tyo-news!sranha!sranhd!sran230!utashiro
  3. From: utashiro@sran230.sra.co.jp (Kazumasa Utashiro)
  4. Subject: Re: processing of "diff -c" for code reviews
  5. References: <17580@autodesk.COM> <Bu77ws.B7K@sran230.sra.co.jp> <ASHERMAN.92Sep9161406@laser.fmrco.com>
  6. Organization: Software Research Associates, Inc., Japan
  7. Date: Thu, 10 Sep 1992 15:01:40 GMT
  8. Message-ID: <BuDB2t.4tu@sran230.sra.co.jp>
  9. Lines: 25
  10.  
  11. In article <ASHERMAN.92Sep9161406@laser.fmrco.com> asherman@fmrco.COM writes:
  12. >> utashiro> I hope that you'll like my cdif and sdif.  Cdif is
  13. >> utashiro> post-processor of diff which hilights modified part of text
  14. >> utashiro> by changing text attributes.  Sdif is a clone of System V
  15. >> utashiro> sdiff command but more powerfull except lack of -o option.
  16. >> utashiro> Sdif can handle cdif output.
  17. >> 
  18. >> If the original poster wanted something to look at at a conference
  19. >> table with others around, this may not work, since getting a terminal
  20. >> to the meeting might not be trivial.
  21.  
  22. I didn't say that cdif works only on terminal.  You can
  23. specify any sequence to hilight texts (e.g. \fB and \fP).
  24. If the standard output is not a terminal, cdif hilights
  25. texts by overstruck and underlined character by default.
  26. Also using my version of a2ps, overstruck and underlined
  27. texts are printed in bold and italic font respectively.
  28.  
  29. >> I've actually found that GNU's diff -u (unified diff) is quite
  30. >> readable. Here is a sample:
  31.  
  32. Yes, cdif can process diff -u output, of course :-)
  33. And so does the sdif.
  34.  
  35. --utashiro
  36.