Opened 15 years ago

Closed 13 years ago

Last modified 4 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@… 13 years ago.
new port for textproc/nl/
Portfile.2 (964 bytes) - added by mjhsieh@… 13 years ago.
New Portfile

Download all attachments as: .zip

Change History (11)

comment:1 Changed 15 years ago by softkid@…

  • Summary changed from Please obtain "nl" command from *BSD source tree to [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 14 years ago by fkr@…

  • Cc fkr@… added

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

comment:3 Changed 14 years ago by ssen@…

  • Version changed from 1.4.1 to 7.x

comment:4 Changed 14 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 13 years ago by mjhsieh@…

new port for textproc/nl/

comment:5 Changed 13 years ago by mjhsieh@…

  • Component changed from Commands to dports
  • Keywords DarwinPorts added; Darwin removed
  • product changed from Darwin to DarwinPorts
  • Version changed from 7.x to 1.0

Changed 13 years ago by mjhsieh@…

New Portfile

comment:6 Changed 13 years ago by mjhsieh@…

  • attachments.isobsolete changed from 0 to 1

comment:7 Changed 13 years ago by mjhsieh@…

  • Summary changed from [RFE] Darwin needs the nl Command to NEW: 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 13 years ago by mjhsieh@…

  • Owner changed from bbraun@… to darwinports-bugs@…
  • severity changed from enhancement to normal

comment:9 Changed 13 years ago by mww@…

  • Resolution set to fixed
  • Status changed from new to closed

commited - thanks! :)

Note: See TracTickets for help on using tickets.