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