New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24 (closed defect: fixed)

Opened 12 years ago

Last modified 15 months ago

NEW: nl-1.8

Reported by: mjhsieh@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: DarwinPorts Cc: fkr@…, testing1@…
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

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

Change History

comment:1 Changed 12 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 11 years ago by fkr@…

  • Cc fkr@… added

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

comment:3 Changed 11 years ago by ssen@…

  • Version changed from 1.4.1 to 7.x

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

new port for textproc/nl/

comment:5 Changed 11 years ago by mjhsieh@…

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

Changed 11 years ago by mjhsieh@…

New Portfile

comment:6 Changed 11 years ago by mjhsieh@…

  • attachments.isobsolete changed from 0 to 1

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

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

comment:9 Changed 11 years ago by mww@…

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

commited - thanks! :)

comment:10 Changed 15 months ago by testing1@…

  • Cc testing1@… added

Cc Me!

comment:11 Changed 15 months ago by testing1@…

  • Cc testing1@… removed

Cc Me!

comment:12 Changed 15 months ago by testing1@…

  • Cc testing1@… added

Cc Me!

comment:13 Changed 15 months ago by testing1@…

  • Cc testing1@… removed

Cc Me!

comment:14 Changed 15 months ago by testing1@…

  • Cc testing1@… added

Cc Me!

comment:15 Changed 15 months ago by testing1@…

  • Cc testing1@… removed

Cc Me!

comment:16 Changed 15 months ago by testing1@…

  • Cc testing1@… added

Cc Me!

Note: See TracTickets for help on using tickets.