diff.coffee 224 B

12345678
  1. ansidiff = require 'ansidiff'
  2. fs = require 'fs'
  3. [node, file, input, output] = process.argv
  4. inputContent = fs.readFileSync input
  5. outputContent = fs.readFileSync output
  6. console.log ansidiff.lines outputContent, inputContent