#!/usr/bin/perl -w use strict; open(INP, "/usr/bin/diff ./newsite1.txt ./newsite2.txt |") or die "pip +e: $!\n"; while (<INP>) { print substr($_,2) if (/^> /); print substr($_,2) if (/^< /); } close(INP);
decnartne ~ entranced
In reply to Re: Comparison Of Files
by decnartne
in thread Comparison Of Files
by ImpalaSS
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |