svn commit: r304035 - projects/netbsd-tests-update-12/bin/cat/tests

John Baldwin jhb at freebsd.org
Mon Aug 15 17:18:57 UTC 2016


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


More information about the svn-src-projects mailing list