Project

General

Profile

Actions

Bug #2922

closed

Align output from cat(1) between when invoked with -be & -ne flags

Added by sevan over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Userland
Target version:
-
Start date:
06/26/2016
Due date:
% Done:

100%

Estimated time:

Description

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.


Files

patch-dfbsd-cat-be-align.txt (580 Bytes) patch-dfbsd-cat-be-align.txt sevan, 06/26/2016 07:23 PM
Actions #1

Updated by sevan over 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF