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
F147962387: D12432.diff
Sat, Mar 14, 10:13 PM
Unknown Object (File)
Sat, Mar 14, 12:42 AM
Unknown Object (File)
Thu, Feb 26, 5:05 AM
Unknown Object (File)
Feb 8 2026, 1:20 PM
Unknown Object (File)
Feb 8 2026, 2:06 AM
Unknown Object (File)
Jan 30 2026, 6:00 PM
Unknown Object (File)
Jan 22 2026, 11:54 PM
Unknown Object (File)
Jan 13 2026, 5:25 PM
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.