User Tools

Site Tools


slackware:cdiff

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
slackware:cdiff [2011/01/23 17:51] slackslackware:cdiff [2019/11/07 17:58] (current) – external edit 127.0.0.1
Line 31: Line 31:
 </code> </code>
  
-If piping into less, use "less -r" or "less -R" Want to compare MS Word files in colour?  Tack on:+I generally hardlink .bash_profile to .bashrc so that all shell-like environments are set up the same way -- this may not be The Right Thing To Do[TM] but it seems to make things work the way you probably expected them to if you don't look too hard (my usual goal).  If piping into less, use "less -r" or "less -R" Want to compare MS Word files in colour?  Tack on:
  
 <code bash docdiff.txt> <code bash docdiff.txt>
Line 37: Line 37:
  
 function docdiff { function docdiff {
-  cdiff <(antiword $1) <(antiword $2) | less -r+  cdiff <(antiword "$1") <(antiword "$2") | less -r
 } }
 </code> </code>
slackware/cdiff.1295805106.txt.gz · Last modified: 2019/11/07 17:58 (external edit)