History log of /freebsd-10.0-release/usr.bin/cut/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


243474 24-Nov-2012 andrew

The is_delim function works on wchar_t characters not ints, update the
function to take a wchar_t as it's argument.

This fixes the build when wchar_t is not an int, i.e. ARM EABI.


243320 20-Nov-2012 eadler

Add 'w' flag to:

Use whitespace (spaces and tabs) as the delimiter.
Consecutive spaces and tabs count as one single field
separator.

Reviewed by: swildner@dragonflybsd.org
Approved by: cperciva
Obtained from: DragonFlyBSD
MFC after: 1 week


236867 11-Jun-2012 kevlo

Fix typo


236866 11-Jun-2012 kevlo

- Consistenly mention columns and fields
- Add -b to short error messages

Obtained from: NetBSD


227162 06-Nov-2011 ed

Add missing static keywords to cut(1)


216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


190610 01-Apr-2009 trhodes

Fix punctuation.

PR: 132834
Submitted by: "Alan R. S. Bueno" <alan.bsd@gmail.com>


167101 28-Feb-2007 ru

- Adopt the short description from POSIX as it better matches the
utility name.

- Fix a bug in description: the range preceded by a dash selects
up to the last number, not first.


140420 18-Jan-2005 ru

Sort sections.


140368 17-Jan-2005 ru

Added the EXIT STATUS section where appropriate.


137250 05-Nov-2004 tjr

When the last line of a file is missing a newline in -f mode, pass a
length argument to mbrtowc() that accounts for the terminating newline
character we add automatically. Failing to do this caused the loop to
unexpectedly run out of characters and incorrectly signal an "Illegal byte
sequence" error.


131754 07-Jul-2004 ru

mdoc(7) fixes.


131227 28-Jun-2004 tjr

Describe the algorithm used by the -n option.


131226 28-Jun-2004 tjr

Move some variable declarations to the top of the file.


131201 27-Jun-2004 tjr

Silence a warning about an unused argument.


131200 27-Jun-2004 tjr

Correct the description of the -f option: input and output fields are
separated by the field delimiter character, which is not necessarily
the tab character.


131197 27-Jun-2004 tjr

Handle multibyte characters when cutting out fields (-f and -d options.)


131196 27-Jun-2004 tjr

Update a comment that compared the parser with an obsolete draft of
IEEE Std 1003.2-1992. Most of the "extensions" here were actually
required by the final version of the standard.


131195 27-Jun-2004 tjr

Add cross-reference to colrm(1).


131194 27-Jun-2004 tjr

Implement the -c option correctly in locales with multibyte characters
instead of treating it as a synonym for -b.


131183 27-Jun-2004 tjr

Make the handling of invalid multibyte sequences more robust by using
mbrlen() instead of mblen().


114581 03-May-2003 keramida

Duplicate "from".

PR: docs/51724
Submitted by: Christopher Nehren <apeiron@comcast.net


107259 26-Nov-2002 ru

mdoc(7) police: markup polishing.

Approved by: re


102944 04-Sep-2002 dwmalone

ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

Reviewed by: md5


102084 19-Aug-2002 jmallett

Remove local prototypes for main().


100579 23-Jul-2002 trhodes

Revert previous delta for cut(1) and calendar(1) as they were not applied
correctly. My fault, forgot that -current was checked out.


100529 22-Jul-2002 trhodes

MFC: Fix some grammar, greater reduce diffs to HEAD


99115 30-Jun-2002 obrien

Consistently use FBSDID


98111 11-Jun-2002 tjr

cut(1) appeared at least as early as System III.


98044 08-Jun-2002 tjr

Add an examples section. Avoid beginning a sentence with a lowercase letter.


98042 08-Jun-2002 tjr

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.


98035 08-Jun-2002 tjr

Don't split multibyte characters when the -n option is specified.


98012 07-Jun-2002 tjr

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.


97530 30-May-2002 tjr

Move exit status info into Diagnostics section.


97495 29-May-2002 ru

mdoc(7) police: use .Fl to represent stdin.


97328 27-May-2002 tjr

Initialise the `positions' array correctly before use.


97237 24-May-2002 tjr

When a file name of "-" is given, read from standard input (SUSv3)


97234 24-May-2002 tjr

Allow byte/character positions >_POSIX2_LINE_MAX to be specified by
dynamically growing the `positions' array.


97218 24-May-2002 tjr

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.


90415 08-Feb-2002 markm

Remove leaf node WARNS?=2 (that mainly I added). This should
help the GCC3 transition and CURRENT in general.


87250 03-Dec-2001 markm

WARNS=2 and -Wall are not both needed. (The second is a subset of the
first)


79755 15-Jul-2001 dd

Remove whitespace at EOL.


77852 07-Jun-2001 dd

Silence the remaining warnings and clamp down with WARNS=2.

Not objected to by: -audit


75930 25-Apr-2001 dd

Teach cut(1) how to handle long lines: convert from fgets(3) to fgetln(3).

PR: 26810
Reviewed by: dwmalone


72108 06-Feb-2001 charnier

Remove duplicate FreeBSD Id
Remoce unused #include
Use imperative mode to start flag description


71726 28-Jan-2001 will

De-__P()-ify

Reviewed by: markm


71725 28-Jan-2001 will

BDECFLAGS: constify; use proper types. Add $FreeBSD$, clean up #ifndef lint.

Reviewed by: markm


68963 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


57670 01-Mar-2000 sheldonh

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.


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


48792 12-Jul-1999 nik

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


43927 12-Feb-1999 eivind

Back out the NetBSD .Nm changes - we don't have the required
infrastructure, and I don't seem to find time to merge it.


43533 02-Feb-1999 eivind

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


43532 02-Feb-1999 eivind

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)


43531 02-Feb-1999 eivind

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).


41568 06-Dec-1998 archie

Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).


27098 30-Jun-1997 charnier

Use err(3) instead of local redefinition. Change argument name in man
page to sync with usage string.


24360 29-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


23693 11-Mar-1997 peter

Merge from Lite2


7200 21-Mar-1995 ache

Fix wrong separator output
Submitted by: julian
Obtained from: newsgroup?


1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.