From Kevin.Neal@sas.com  Fri May  4 06:53:13 2001
Return-Path: <Kevin.Neal@sas.com>
Received: from merc95.na.sas.com (merc95.na.sas.com [149.173.6.5])
	by hub.freebsd.org (Postfix) with ESMTP id 7760937B423
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  4 May 2001 06:53:13 -0700 (PDT)
	(envelope-from Kevin.Neal@sas.com)
Received: from merc95.na.sas.com ([127.0.0.1]) by merc95.na.sas.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id F1DXRFKN; Fri, 4 May 2001 09:53:12 -0400
Received: from 10.19.11.6 by merc95.na.sas.com (InterScan E-Mail VirusWall NT); Fri, 04 May 2001 09:53:12 -0400 (Eastern Daylight Time)
Received: by MERC92.na.sas.com with Internet Mail Service (5.5.2653.19)
	id <J7QSX8AM>; Fri, 4 May 2001 09:53:12 -0400
Message-Id: <0632CC5F67853B4D96D542BAE8AD00826689C4@merc08.na.sas.com>
Date: Fri, 4 May 2001 09:53:08 -0400 
From: Kevin Neal <Kevin.Neal@sas.com>
To: "'FreeBSD-gnats-submit@freebsd.org'" <FreeBSD-gnats-submit@freebsd.org>
Subject: FreeBSD does not have nl

>Number:         27078
>Category:       bin
>Synopsis:       FreeBSD lacks nl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    brian
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 04 07:00:01 PDT 2001
>Closed-Date:    Fri May 4 10:26:27 PDT 2001
>Last-Modified:  Fri May 04 10:26:44 PDT 2001
>Originator:     Kevin P. Neal
>Release:        FreeBSD 4.2-BETA-20001104 i386
>Organization:
lacking
>Environment:

        Nothing special. Mixed Unix environment where portability of scripts
        is desired.

>Description:

        I think the nl program was one of the programs stripped out of the
        4.4BSD-lite distribution. Since then a new nl has been written and
        can be found in at least NetBSD. 

>How-To-Repeat:

        Use HP-UX and write shell scripts to aid in debugging a program.
        Use nl in said scripts. Then try to run the scripts on FreeBSD.
        Be disappointed.

>Fix:

        Grab NetBSD's nl wholesale.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Fri May 4 08:55:17 PDT 2001 
State-Changed-Why:  
#! /bin/sh 
exec cat -n "$@" 

http://www.freebsd.org/cgi/query-pr.cgi?pr=27078 
State-Changed-From-To: closed->open 
State-Changed-By: brian 
State-Changed-When: Fri May 4 10:06:00 PDT 2001 
State-Changed-Why:  
``cat -n'' is not even close to being a substitute for nl(1) 


Responsible-Changed-From-To: freebsd-bugs->brian 
Responsible-Changed-By: brian 
Responsible-Changed-When: Fri May 4 10:06:00 PDT 2001 
Responsible-Changed-Why:  
I'll grab the NetBSD version - serves me right for thinking nl had no switches :-) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=27078 
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Fri May 4 10:26:27 PDT 2001 
State-Changed-Why:  
nl(1) is now in -current 

http://www.freebsd.org/cgi/query-pr.cgi?pr=27078 
>Unformatted:
