Page MenuHomeFreeBSD

align output between when invoked with -be & -ne flags
ClosedPublic

Authored by sevan on Sep 21 2017, 12:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 11, 5:22 PM
Unknown Object (File)
Mon, Mar 11, 5:21 PM
Unknown Object (File)
Mon, Mar 11, 5:21 PM
Unknown Object (File)
Fri, Mar 8, 2:27 AM
Unknown Object (File)
Sun, Mar 3, 10:23 PM
Unknown Object (File)
Jan 7 2024, 4:39 AM
Unknown Object (File)
Jan 6 2024, 3:56 AM
Unknown Object (File)
Jan 6 2024, 3:56 AM
Subscribers

Details

Summary

Ammend bin/cat/cat.c so the output is the same aside
from blank lines being numbered or unnumbered, depending on whether cat
was invoked with -ne or -be.

At present, when cat is invoked with -be, there is an aditional
difference that the '$' on blank lines is placed on the far left of the
output.

Discussed in bug 210607 but forgot to follow up on it.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Also approved to undo this in the same commit: https://svnweb.freebsd.org/base?view=revision&revision=304035
Add into the commit this as well to help with any POLA issues:

Relnotes: yes
This revision is now accepted and ready to land.Sep 21 2017, 1:45 PM

Also approved to undo this in the same commit: https://svnweb.freebsd.org/base?view=revision&revision=304035
Add into the commit this as well to help with any POLA issues:

Relnotes: yes

Also be sure to tie to the PR since it notes some of the problems.

This revision was automatically updated to reflect the committed changes.