Re: How can I extract differences between 2 folders ?

2009-05-05 Thread Polytropon
Hi, I don't want to sound impolite, but I think it's important that you know the correct terminology: On Tue, 5 May 2009 10:33:19 +0300, Yavuz Maşlak yavuz.mas...@netiletisim.net wrote: I use freebsd7.1 I have two folders [...] In UNIX, there are no folders. These are called directories. To

Re: How can I extract differences between 2 folders ?

2009-05-05 Thread Armin Pirkovitsch
First of all I suppose you're talking about 2 files, not folders. In which case the command you're using isn't looking so bad since it shows the differences between file a and file b: diff --suppress-common-lines -w -y a b abcde | xyasz

Re: How can I extract differences between 2 folders ?

2009-05-05 Thread Yavuz Maşlak
First I am sorry writing folders instead of files. as far as I see diff command compares differences line by line between 2 files That's to say, File a orange blue yellow File b yellow blue orange diff --suppress-common-lines -w -y a b orange

Re: How can I extract differences between 2 folders ?

2009-05-05 Thread Gary Gatten
I extract differences between 2 folders ? First I am sorry writing folders instead of files. as far as I see diff command compares differences line by line between 2 files That's to say, File a orange blue yellow File b yellow blue orange diff --suppress-common-lines -w -y a b orange

Re: How can I extract differences between 2 folders ?

2009-05-05 Thread Polytropon
On Tue, 5 May 2009 21:35:22 +0300, Yavuz Maşlak yavuz.mas...@netiletisim.net wrote: First I am sorry writing folders instead of files. Directories. FreeBSD has directories and files. Please try to use the correct terminology. I wish diff or another command not to display same values which

Re: How can I extract differences between 2 folders ?

2009-05-05 Thread Matthew Seaman
Polytropon wrote: On Tue, 5 May 2009 21:35:22 +0300, Yavuz Maşlak yavuz.mas...@netiletisim.net wrote: I wish diff or another command not to display same values which are in different lines. You could first run the files through sort, then diff them. Rather than diff(1), perhaps comm(1)