🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mailing.dragonflybsd.bugs
Article #1

[DragonFlyBSD - Bug #2922] (Resolved) Align output from cat(1) between when invoked with -be & -ne flags

#1
From: bugtracker-admin
Date: Wed, 03 Aug 2016 12:42
33 lines
1928 bytes
Issue #2922 has been updated by sevan.

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

----------------------------------------
Bug #2922: Align output from cat(1) between when invoked with -be & -ne flags
http://bugs.dragonflybsd.org/issues/2922#change-12958

* Author: sevan
* Status: Resolved
* Priority: Normal
* Assignee: 
* Category: Userland
* Target version: 
----------------------------------------
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)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
Technical Details
Message-ID: <mailpost.1470228172.6702541.12486.mailing.dragonflybsd.bugs@FreeBSD.cs.nctu.edu.tw>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <mailpost.1470228172.6702541.12486.mailing.dragonflybsd.bugs@FreeBSD.cs.nctu.edu.tw>
Subject: [DragonFlyBSD - Bug #2922] (Resolved) Align output from cat(1) between when invoked with -be & -ne flags
Date: Wed, 03 Aug 2016 05:42:43 -0700
From: bugtracker-admin@leaf.dragonflybsd.org
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!not-for-mail
Newsgroups: mailing.dragonflybsd.bugs
Lines: 34
Sender: news@FreeBSD.cs.nctu.edu.tw
Content-Transfer-Encoding: 7bit
X-Received-Bytes: 2074
Organization: NCTU CS FreeBSD Server
X-Received-Body-Crc: 3936304591
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8