Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Aug 2016 09:31:10 -0700
From:      John Baldwin <jhb@freebsd.org>
To:        Garrett Cooper <ngie@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   Re: svn commit: r304035 - projects/netbsd-tests-update-12/bin/cat/tests
Message-ID:  <30030790.ZPeSnnAZ0H@ralph.baldwin.cx>
In-Reply-To: <201608130253.u7D2r2bO052346@repo.freebsd.org>
References:  <201608130253.u7D2r2bO052346@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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