Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Feb 2002 18:36:40 -0700 (MST)
From:      "M. Warner Losh" <imp@village.org>
To:        standards@FreeBSD.ORG
Subject:   diff problem
Message-ID:  <20020208.183640.89249665.imp@village.org>

next in thread | raw e-mail | index | archive | help
We have a problem with out diff.  Given file foo1 and foo2.  foo1 has
a newline at the end, while foo2 doesn't.  Diff produces:

% diff -c ~/foo[12]
*** /dell/imp/foo1      Fri Feb  8 18:05:26 2002
--- /dell/imp/foo2      Fri Feb  8 18:05:31 2002
***************
*** 1 ****
! this is a test
--- 1 ----
! this is a test
% 

It should produce a warning about no newline at the end of the file,
but doesn't.  At least that's my take.  What do standards have to say?

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-standards" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020208.183640.89249665.imp>