Page MenuHomeFreeBSD

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

Authored by sevan on Sep 21 2017, 12:39 PM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

sevan created this revision.Sep 21 2017, 12:39 PM
bdrewery accepted this revision.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
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.