Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Aug 2016 15:28:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 210607] patch to bin/cat/cat.c to align output between when invoked with -be & -ne flags
Message-ID:  <bug-210607-8-M3tNCJhfZX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-210607-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-210607-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210607

--- Comment #3 from John Baldwin <jhb@FreeBSD.org> ---
(In reply to Sevan Janiyan from comment #2)
1) The 'BSD' output from CSRG is the current one, not NetBSD's recent chang=
e.=20
The other output has been in place for 35 years.  There has to be a compell=
ing
reason to change it vs the tradeoff of breaking existing scripts and reduci=
ng
compatibility with other systems.  'cat' on OS X follows the current output=
 as
well (inherited from BSD of course).

2) The language is not clear (and I'd be fine with clarifying it), but what=
 you
are changing is to have 'cat -be' insert extra leading blankspace for blank
lines, but 'cat -b' does not.  That seems far less intuitive to me from any=
 of
the descriptions.  It seems more consistent for 'cat -b' to always include
leading blankspace or to never include, not to only do it for '-e'.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210607-8-M3tNCJhfZX>