X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: Cygwin - diff command does not provide output Date: Mon, 19 Jun 2006 11:55:54 +0100 Message-ID: <001501c6938e$efd635b0$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4933837.post@talk.nabble.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/