From owner-freebsd-questions@FreeBSD.ORG Wed Jul 20 05:18:49 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDC1D16A41F for ; Wed, 20 Jul 2005 05:18:49 +0000 (GMT) (envelope-from Qiang.Xu@fujixerox.com) Received: from mx21.fujixerox.co.jp (mx21.fujixerox.co.jp [192.26.96.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67AE943D45 for ; Wed, 20 Jul 2005 05:18:48 +0000 (GMT) (envelope-from Qiang.Xu@fujixerox.com) Received: from isvw21.fujixerox.co.jp ([129.249.27.141]) by mx21.fujixerox.co.jp with ESMTP id j6K5IX4d024546; Wed, 20 Jul 2005 14:18:33 +0900 (JST) Received: from ms20.fujixerox.co.jp (localhost [127.0.0.1]) by isvw21.fujixerox.co.jp with ESMTP id j6K5IWww026195; Wed, 20 Jul 2005 14:18:33 +0900 (JST) Received: from ms1.fujixerox.co.jp (ms1 [129.249.27.192]) by ms20.fujixerox.co.jp with ESMTP id j6K5IWCE002573; Wed, 20 Jul 2005 14:18:32 +0900 (JST) Received: from sgpaphq-smtp01.fujixerox.com ([13.198.8.73]) by ms1.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP id j6K5IVm18815; Wed, 20 Jul 2005 14:18:32 +0900 (JST) Received: from mailhost.sgp.fujixerox.com by sgpaphq-smtp01.fujixerox.com with ESMTP id 89939431121836693; Wed, 20 Jul 2005 13:18:13 +0800 Received: from localhost (localhost [127.0.0.1]) by localhost.sgp.fujixerox.com (Postfix) with SMTP id 0116B1D99D; Wed, 20 Jul 2005 13:18:08 +0800 (SGT) Received: from sess.xssc.sgp.xerox.com (unknown [13.198.33.122]) by imss.sgp.fujixerox.com (Postfix) with ESMTP id 5DE721D92E; Wed, 20 Jul 2005 13:18:06 +0800 (SGT) From: Xu Qiang To: Dan Nelson , Xu Qiang Date: Wed, 20 Jul 2005 13:21:10 +0800 X-Sent-Folder-Path: Sent Items X-Mailer: Oracle Connector for Outlook 9.0.4 60130 (9.0.2711) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-Id: <20050720051806.5DE721D92E@imss.sgp.fujixerox.com> Cc: freebsd-questions@freebsd.org Subject: RE: 1 byte more? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 05:18:50 -0000 Dan Nelson wrote: > vi probably put a newline character after the one you typed. You can > use > = > echo -n 0 > count.txt > = > or a text editor that doesn't force a newline as the last character in > a file (joe for example). Yes, You hit the point again. = I used xemacs to hex edit that file, to find a newline character (0x0a) is = added to the txt file, even though I didn't touch the "Enter" key in my key= board. Maybe vi is too aggressively helpful. :) Your "echo -n" is a solution. And xemacs is also a better choice without th= is annoying problem. = Thank you, = Regards, Xu Qiang