From owner-svn-src-projects@freebsd.org Mon Aug 15 17:18:57 2016 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 777FBBBA332 for ; Mon, 15 Aug 2016 17:18:57 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 548241938; Mon, 15 Aug 2016 17:18:57 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 71412B9AB; Mon, 15 Aug 2016 13:18:56 -0400 (EDT) From: John Baldwin To: Garrett Cooper Cc: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: Re: svn commit: r304035 - projects/netbsd-tests-update-12/bin/cat/tests Date: Mon, 15 Aug 2016 09:31:10 -0700 Message-ID: <30030790.ZPeSnnAZ0H@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.3-STABLE; KDE/4.14.3; amd64; ; ) In-Reply-To: <201608130253.u7D2r2bO052346@repo.freebsd.org> References: <201608130253.u7D2r2bO052346@repo.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 15 Aug 2016 13:18:56 -0400 (EDT) X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 17:18:57 -0000 On Saturday, August 13, 2016 02:53:02 AM Garrett Cooper wrote: > Author: ngie > Date: Sat Aug 13 02:53:02 2016 > New Revision: 304035 > URL: https://svnweb.freebsd.org/changeset/base/304035 > > Log: > Hack around output differences between FreeBSD and other BSDs > with cat(1) > > cat -be on FreeBSD doesn't align the $ with the start of the line > like NetBSD, et al's cat -be does To be clear, the "correct" format to use for -be isn't defined. BSD (as in 4.4), OS X, and gcat all use the same format as FreeBSD. OpenBSD and Dragonfly have only adopted the "new" format in the last 2 months. (NetBSD adopted it back in 1998.) OTOH, it's not clear how useful combining -b with -e is or what semantics are really "correct" either. -- John Baldwin