SPUG: "diff" utility within Perl
Man Lung Li
manlungl at microsoft.com
Wed Nov 7 17:48:38 CST 2001
If you just want to know whether two files are identical, the simplest
way is to compare their checksum.
Man Lung Li
> -----Original Message-----
> From: Bob Brockhausen [mailto:BBrockha at starbucks.com]
> Sent: Tuesday, November 06, 2001 11:14 AM
> To: 'spug-list at pm.org'
> Subject: SPUG: "diff" utility within Perl
>
>
> Does anyone know of if a "diff" like module exists within
> Perl?? I have script that uses "-s" to do simple diff, but
> I've found that the files are same size BUT different in
> content (single char in date 5 vs 6). I'd like to use some
> kina "diff" utlity to verify if indeed the two files are
> identical of not (don't need to know the difference,
> just that they exist is good enought) If no module exists
> does anyone have utility that would work???
>
> Thanks!!
>
> --- Hailing frequencies closed
> --------------------------------------------------------------
> --------------
> Bob Brockhausen Phone: 206-318-6413
> PO Box 34067 S-IT2 Pager: 206-810-3707
>
> Seattle Wash 98124-1067 Fax: 206-318-2371
>
>
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - -
> POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
> Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
> Replace ACTION by subscribe or unsubscribe, EMAIL by your
> Email-address For daily traffic, use spug-list for LIST ;
> for weekly, spug-list-digest
> Seattle Perl Users Group (SPUG) Home Page:
http://zipcon.net/spug/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://zipcon.net/spug/
More information about the spug-list
mailing list