Tom Rhodes
a38d3fb35e
Revert previous delta for cut(1) and calendar(1) as they were not applied
...
correctly. My fault, forgot that -current was checked out.
2002-07-23 15:09:56 +00:00
Tom Rhodes
623bc624b0
MFC: Fix some grammar, greater reduce diffs to HEAD
2002-07-22 21:14:16 +00:00
David E. O'Brien
77c8bf7cae
Consistently use FBSDID
2002-06-30 05:34:21 +00:00
Tim J. Robbins
84fb5a42d2
cut(1) appeared at least as early as System III.
2002-06-11 08:11:12 +00:00
Tim J. Robbins
500b4b738d
Add an examples section. Avoid beginning a sentence with a lowercase letter.
2002-06-08 08:37:27 +00:00
Tim J. Robbins
e4d15ec387
Document cut(1)'s deficiencies in dealing with multibyte characters in the
...
BUGS section. These will be easy to fix when we have wide character stdio.
2002-06-08 08:08:47 +00:00
Tim J. Robbins
393cf5088e
Don't split multibyte characters when the -n option is specified.
2002-06-08 07:27:21 +00:00
Tim J. Robbins
93738f50e5
style(9): don't initialise variables in their declaration, remove space
...
after function name, use __unused on unused parameters instead of
initialising them to bogus values.
2002-06-07 09:13:43 +00:00
Tim J. Robbins
80a4c82db1
Move exit status info into Diagnostics section.
2002-05-30 00:46:00 +00:00
Ruslan Ermilov
a59a315d08
mdoc(7) police: use .Fl to represent stdin.
2002-05-29 18:21:42 +00:00
Tim J. Robbins
f457179a13
Initialise the `positions' array correctly before use.
2002-05-27 02:01:25 +00:00
Tim J. Robbins
204c78a163
When a file name of "-" is given, read from standard input (SUSv3)
2002-05-24 09:56:18 +00:00
Tim J. Robbins
a8522a9bb7
Allow byte/character positions >_POSIX2_LINE_MAX to be specified by
...
dynamically growing the `positions' array.
2002-05-24 09:11:18 +00:00
Tim J. Robbins
a6ea32c3c5
If processing of one file fails, try to process the remaining files and
...
exit non-zero instead of immediately exiting. The traditional BSD
behaviour is explicitly forbidden by P1003.2.
2002-05-24 06:03:12 +00:00
Mark Murray
91bd71d206
Remove leaf node WARNS?=2 (that mainly I added). This should
...
help the GCC3 transition and CURRENT in general.
2002-02-08 22:31:43 +00:00
Mark Murray
d0effe7563
WARNS=2 and -Wall are not both needed. (The second is a subset of the
...
first)
2001-12-03 00:16:52 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Dima Dorfman
41ff7633ea
Silence the remaining warnings and clamp down with WARNS=2.
...
Not objected to by: -audit
2001-06-07 02:57:58 +00:00
Dima Dorfman
1928e20e95
Teach cut(1) how to handle long lines: convert from fgets(3) to fgetln(3).
...
PR: 26810
Reviewed by: dwmalone
2001-04-25 05:42:53 +00:00
Philippe Charnier
39e21a1b64
Remove duplicate FreeBSD Id
...
Remoce unused #include
Use imperative mode to start flag description
2001-02-06 20:03:48 +00:00
Will Andrews
99557a7988
De-__P()-ify
...
Reviewed by: markm
2001-01-28 00:35:40 +00:00
Will Andrews
d8a3fbd50d
BDECFLAGS: constify; use proper types. Add $FreeBSD$, clean up #ifndef lint.
...
Reviewed by: markm
2001-01-28 00:34:29 +00:00
Ruslan Ermilov
8fe908ef0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
Sheldon Hearn
87faa07bec
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Nik Clayton
3be5f1f5ce
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:24:20 +00:00
Eivind Eklund
bac210578d
Back out the NetBSD .Nm changes - we don't have the required
...
infrastructure, and I don't seem to find time to merge it.
1999-02-12 13:24:45 +00:00
Eivind Eklund
2c39ae659c
Merge from NetBSD: cut.1 rev 1.6 to 1.8
...
cut.c rev 1.9 to 1.13
* Man page internal cleanups
* 8-bit characters cast to unsigned for is*()
* Misc cleanups for egcs -Wall compatibility
1999-02-02 15:48:04 +00:00
Eivind Eklund
5183fb5330
Bring in use of strsep() to handle bad input better, and clean up
...
some text.
Obtained from: Merge from OpenBSD
(cut.1 up to OpenBSD rev 1.3, cut.c up to OpenBSD rev 1.6)
1999-02-02 14:56:55 +00:00
Eivind Eklund
d51c662504
Merge from NetBSD cut.1 rev 1.6 and cut.c rev 1.9, respectively. This
...
makes us conform to IEEE Std1003.2-1992 (``POSIX.2'').
Obtained from: NetBSD (but with slight modifications).
1999-02-02 14:26:39 +00:00
Archie Cobbs
fa146c5335
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
1998-12-06 22:58:23 +00:00
Philippe Charnier
812bff99b4
Use err(3) instead of local redefinition. Change argument name in man
...
page to sync with usage string.
1997-06-30 06:48:46 +00:00
Warner Losh
1c8af87873
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Peter Wemm
df3f5d9dd5
Merge from Lite2
1997-03-11 13:43:33 +00:00
Andrey A. Chernov
eaf9238016
Fix wrong separator output
...
Submitted by: julian
Obtained from: newsgroup?
1995-03-21 00:26:32 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00