diff three or more remote files

McGuywer

Executive Member
Joined
Jun 28, 2006
Messages
6,858
Hi Guys,

Need some help.
At the moment, I am using this:
diff <(ssh host1 cat '/data/somefile') <(ssh host2 'cat /data/somefile')

How would I add a third, fourth, fifth etc file to diff?

Would a hash approach work?

Thank you.
 
Top