[Bug 210607] patch to bin/cat/cat.c to align output between when invoked with -be & -ne flags

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 4 16:59:38 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210607

John Baldwin <jhb at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jhb at FreeBSD.org

--- Comment #1 from John Baldwin <jhb at FreeBSD.org> ---
I actually find the current behavior the correct one.  Note that GNU cat
follows the current behavior:

> gcat -ne 
a b c
     1  a b c$

     2  $
def
     3  def$
^D                                                                              

vs:

> gcat -be
a b c 
     1  a b c$

$
def
     2  def$
^D                                                                              

The idea being that you only get leading indentation if there is a line number.

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


More information about the freebsd-bugs mailing list