Operating System - HP-UX
1752777 Members
6331 Online
108789 Solutions
New Discussion

multiple files for diff command?

 
p7
Frequent Advisor

multiple files for diff command?

hi all

 

is there a way to do more than 2 files for the diff command?

i see theres a diff3 for 3, but is there one for more in hpux?

 

thx in advance

 

2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: multiple files for diff command?

I know of no easy way to compare multiple files.

 

It is possible to write something in 'awk' that should fit your requirements. 

 

I got a lot of hits by searching Google with the terms: unix multi file diff

Dennis Handly
Acclaimed Contributor

Re: multiple files for diff command?

Yes, there is an open source diff3 for HP-UX.

How many files do you want to diff at a time?