cancel
Showing results for 
Search instead for 
Did you mean: 

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
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?