https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210607
Bug ID: 210607 Summary: patch to bin/cat/cat.c to align output between when invoked with -be & -ne flags Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: ventur...@geeklan.co.uk Created attachment 171845 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171845&action=edit patch cat.c & ATF tests The attached patch amends 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. The patch originates from r1.17 of bin/cat/cat.c from NetBSD. Additionally, the ATF test is amended to test for the behaviour correctly (the test previously only checked if text was aligned, without blank lines where the issue being tested for was present). This change is present upstream but provided here in case a vendor import is not feasible at this time. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"