parse unix-style difference reporting
From: Liang (leo2002chen_at_hotmail.com)
Date: 12/30/03
- Next message: Bazajt: "Re: Freelance programmers wanted. NxQ"
- Previous message: Dave Bee: "Speed Freak"
- Next in thread: Barry Margolin: "Re: parse unix-style difference reporting"
- Reply: Barry Margolin: "Re: parse unix-style difference reporting"
- Reply: Jonathan Leffler: "Re: parse unix-style difference reporting"
- Reply: Thomas Dickey: "Re: parse unix-style difference reporting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Dec 2003 10:00:39 +0800
Hi all,
I want to diff two files or two versions of one file, and parse the output
to find a summary of how many lines of replacement/addition/deletion in the
two files.
Known from diff/cleardiff, the output has a style like:
15a16, 15,17d3, 18c19,21 etc.
Anyone know how to parse these output to generate a summary?
Thanks in advance,
Liang
- Next message: Bazajt: "Re: Freelance programmers wanted. NxQ"
- Previous message: Dave Bee: "Speed Freak"
- Next in thread: Barry Margolin: "Re: parse unix-style difference reporting"
- Reply: Barry Margolin: "Re: parse unix-style difference reporting"
- Reply: Jonathan Leffler: "Re: parse unix-style difference reporting"
- Reply: Thomas Dickey: "Re: parse unix-style difference reporting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]