On 19 June 2006 11:21, astro wrote:

> I tried to compare the files in two different directories and directed the
> output into another directory.
> I could achieve this by writing a serious commands. But when I did that I
> gave the file name for the diff output as difffile1,difffile2 etc.,
> 
> But after some time "diff" command does not work correctly.
> If I type diff x.txt y.txt
> I simply get the result as "Files x y differ". But I am not getting the
> output of what exactly differ as I was getting before.
> I think I have changed something.But I do not know what exactly I have
> changed.

  When you see those messages "Files x y differ", that means you have given
the -q option to diff.  Have you perhaps set an alias so that 'diff' now
equals 'diff -q' in your shell and forgotten about it?  The 'alias' command
will show you any aliases currently in effect.  You might also want to check
the output of the 'set' command in case you've defined 'diff' as a shell
function.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to