David Schultz
8e31b96c07
Use getline() instead of fgets(). This enables nl(1) to handle
...
arbitrarily long lines and embedded NULs. The new functionality is
nugatory, but adding it is a simple way to improve the exposure of
getline() in -CURRENT.
2009-02-28 15:53:36 +00:00
Maxim Konovalov
7f61ad1c2b
o Really commit typo fixes to HEAD.
...
PR: docs/110809
Submitted by: naddy
2007-03-25 18:37:59 +00:00
Warner Losh
353bb0a3f8
Avoid 'bogus' uninitialized warning by initializing rather than
...
playing cute games. It is much simpler, clearer and easier to follow
and understand. Besides, gcc4 likes it better.
2006-12-22 05:54:19 +00:00
Stefan Farfeleder
6c97c3d1d3
Remove unused variables.
2005-04-09 14:31:41 +00:00
Tim J. Robbins
d99e92769c
Document input line length limit.
2005-01-25 22:32:48 +00:00
Ruslan Ermilov
a866e17077
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
Ruslan Ermilov
4438d91ea2
Scheduled mdoc(7) sweep.
2005-01-11 10:32:52 +00:00
Tim J. Robbins
33ec7f265b
Add support for multibyte characters.
2004-07-13 02:18:21 +00:00
Tim J. Robbins
4f45d81178
Document missing multibyte character support in utilities specified
...
by POSIX.
2004-07-03 01:28:21 +00:00
Ruslan Ermilov
6a3e8b0adc
Mechanically kill hard sentence breaks.
2004-07-02 22:22:35 +00:00
Tim J. Robbins
7007f3d660
Tidy up usage message.
2003-08-17 10:33:54 +00:00
Juli Mallett
3a7fc8ce59
Remove local prototypes for main().
2002-08-19 03:07:56 +00:00
Tim J. Robbins
66f9c15fcf
The XCU issue 5 requirement of accepting the file operand intermingled
...
with options has been withdrawn in issue 6, to which nl(1) now conforms.
2002-05-27 06:53:54 +00:00
Tim J. Robbins
53e29ec5b4
style(9): use errx() where appropriate instead of fprintf() + exit().
2002-05-27 06:46:29 +00:00
Tim J. Robbins
f1e20ff77e
style(9): use err() instead of perror() + exit().
2002-05-27 06:37:34 +00:00
Warner Losh
d3cb5ded92
remove __P
2002-03-22 01:33:25 +00:00
Dima Dorfman
dca364bf5b
Fix typo.
2001-11-24 21:22:16 +00:00
Garrett Wollman
3dbc6eb200
Cross-reference jot(1).
...
MFC after: 1 week
2001-09-21 03:05:16 +00:00
Ruslan Ermilov
d628d776c4
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
Ruslan Ermilov
8af1452cf8
Removed duplicate VCS ID tags, as per style(9).
2001-08-13 14:06:34 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Ruslan Ermilov
e8b02a428d
mdoc(7) police: -xwidth has been fold into -width.
2001-07-13 09:09:52 +00:00
Ruslan Ermilov
42dadc4a58
mdoc(7) police: eliminate -ww warnings.
2001-07-09 15:46:02 +00:00
Ruslan Ermilov
7fa247d086
mdoc(7) police: fix markup (demonstrates new -xwidth modifier).
2001-05-16 10:18:20 +00:00
Brian Somers
1e207e46d7
Fix markup
...
Spotted by: Jens Schweikhardt <schweikh@schweikhardt.net>
2001-05-05 09:02:24 +00:00
Brian Somers
f21559815d
Add nl(1)
...
PR: 27078
Obtained from: NetBSD
2001-05-04 17:25:23 +00:00