GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Using diff to compare 2 programs
Operating System - HP-UX
1848566
Members
6846
Online
104033
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 03:07 AM
10-09-2003 03:07 AM
I'm trying to compare the source code of 2 C programs. The problem is there was alot of formatting done so diff yeilds thousands of differences.
Is there a way to compare actual text excluding spacing & format differences?
thanks
Is there a way to compare actual text excluding spacing & format differences?
thanks
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 03:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 03:45 AM
10-09-2003 03:45 AM
Re: Using diff to compare 2 programs
diff -ibw would be better as it would ignore case too.
The sufficiency of my merit is to know that my merit is NOT sufficient
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 04:34 AM
10-09-2003 04:34 AM
Re: Using diff to compare 2 programs
tkdiff is a good tool. Many times I use this to compare files with its original version.
http://www.accurev.com/free/tkdiff/
You need to have tcl/tk installed for this.
http://hpux.connect.org.uk/hppd/hpux/Tcl/tcl-8.3.4/
http://hpux.connect.org.uk/hppd/hpux/Tcl/tk-8.3.4/
HTH,
Umapathy
http://www.accurev.com/free/tkdiff/
You need to have tcl/tk installed for this.
http://hpux.connect.org.uk/hppd/hpux/Tcl/tcl-8.3.4/
http://hpux.connect.org.uk/hppd/hpux/Tcl/tk-8.3.4/
HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP