From owner-freebsd-standards Fri Feb 8 17:36:52 2002 Delivered-To: freebsd-standards@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 03B4137B420 for ; Fri, 8 Feb 2002 17:36:49 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g191ali30336 for ; Fri, 8 Feb 2002 18:36:47 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g191akL55599 for ; Fri, 8 Feb 2002 18:36:47 -0700 (MST) (envelope-from imp@village.org) Date: Fri, 08 Feb 2002 18:36:40 -0700 (MST) Message-Id: <20020208.183640.89249665.imp@village.org> To: standards@FreeBSD.ORG Subject: diff problem From: "M. Warner Losh" X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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