Opened 22 years ago

Closed 20 years ago

Last modified 11 years ago

#24 closed defect (fixed)

NEW: nl-1.8

Reported by: mjhsieh@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: DarwinPorts Cc: fkr@…
Port:

Description

nl is a useful tool for users. You can directly compile using FreeBSD source file without modification and any error or warning. It's very easy to do so. see http://www.freebsD.org/cgi/cvsweb.cgi/src/usr.bin/nl/

Attachments (2)

Portfile (1.1 KB) - added by mjhsieh@… 20 years ago.
new port for textproc/nl/
Portfile.2 (964 bytes) - added by mjhsieh@… 20 years ago.
New Portfile

Download all attachments as: .zip

Change History (11)

comment:1 Changed 22 years ago by softkid@…

Summary: Please obtain "nl" command from *BSD source tree[RFE] Darwin needs the nl Command

From the FreeBSD man page :

The nl utility reads lines from the named file or the standard input if the file argument is ommitted, applies a configurable line numbering fil­ ter operation and writes the result to the standard output.

The nl utility treats the text it reads in terms of logical pages. Unless specified otherwise, line numbering is reset at the start of each logical page. A logical page consists of a header, a body and a footer section; empty sections are valid. Different line numbering options are independently available for header, body and footer sections.

comment:2 Changed 20 years ago by fkr@…

Cc: fkr@… added

we could possibly distribute this via darwinports.... -fkr

comment:3 Changed 20 years ago by ssen@…

Version: 1.4.17.x

comment:4 Changed 20 years ago by mjhsieh@…

nl is a part of POSIX1 standard, I guess darwin need that anyway. http://www.opengroup.org/onlinepubs/007904975/utilities/nl.html

Changed 20 years ago by mjhsieh@…

Attachment: Portfile added

new port for textproc/nl/

comment:5 Changed 20 years ago by mjhsieh@…

Component: Commandsdports
Keywords: DarwinPorts added; Darwin removed
product: DarwinDarwinPorts
Version: 7.x1.0

Changed 20 years ago by mjhsieh@…

Attachment: Portfile.2 added

New Portfile

comment:6 Changed 20 years ago by mjhsieh@…

attachments.isobsolete: 01

comment:7 Changed 20 years ago by mjhsieh@…

Summary: [RFE] Darwin needs the nl CommandNEW: nl-1.8

nl-1.8

the portfile can be found here: ATTACHED

Description: This is the Portfile for textproc/nl , please review it and see if we can have it in the dports. The nl utility, a line numbering filter, conforms to POSIX.1 standard. The nl utility reads lines from the named file or the standard input if the file argument is ommitted, applies a configurable line numbering filter operation and writes the result to the standard output. This is from FreeBSD's source tree. I only modified the Makefile.

Homepage: http://www.freebsD.org/cgi/cvsweb.cgi/src/usr.bin/nl/

Comments: ...

comment:8 Changed 20 years ago by mjhsieh@…

Owner: changed from bbraun@… to darwinports-bugs@…
severity: enhancementnormal

comment:9 Changed 20 years ago by mww@…

Resolution: fixed
Status: newclosed

commited - thanks! :)

Note: See TracTickets for help on using tickets.