History log of /freebsd-11.0-release/usr.bin/cut/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
303975 11-Aug-2016 gjb

Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE
cycle.

Prune svn:mergeinfo from the new branch, and rename it to RC1.

Update __FreeBSD_version.

Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and
the dvd1.iso packages population.

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

302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

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


299094 04-May-2016 ngie

Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed
after r298107

Summary of changes:

- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that
namespacing is kept with FILES appropriately, and that this shouldn't need
to be repeated if the namespace changes -- only the definition of PACKAGE
needs to be changed
- Allow PACKAGE to be overridden by callers instead of forcing it to always be
`tests`. In the event we get to the point where things can be split up
enough in the base system, it would make more sense to group the tests
with the blocks they're a part of, e.g. byacc with byacc-tests, etc
- Remove PACKAGE definitions where possible, i.e. where FILES wasn't used
previously.
- Remove unnecessary TESTSPACKAGE definitions; this has been elided into
bsd.tests.mk
- Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES;
${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk.
- Fix installation of files under data/ subdirectories in lib/libc/tests/hash
and lib/libc/tests/net/getaddrinfo
- Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup)

Document the proposed changes in share/examples/tests/tests/... via examples
so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of
replacing FILES. share/mk/bsd.README didn't seem like the appropriate method
of communicating that info.

MFC after: never probably
X-MFC with: r298107
PR: 209114
Relnotes: yes
Tested with: buildworld, installworld, checkworld; buildworld, packageworld
Sponsored by: EMC / Isilon Storage Division


298107 16-Apr-2016 gjb

Merge the projects/release-pkg branch to head.

This allows packaging the base system with pkg(8), including
but not limited to providing the ability to provide upstream
binary update possibilities for non-tier-1 architectures.

This merge is a requirement of the 11.0-RELEASE, and as such,
thank you to everyone that has tested the project branch.

Documentation in build(7) etc. is still somewhat sparse, but
updates to those parts will follow.

Sponsored by: The FreeBSD Foundation


296587 09-Mar-2016 bdrewery

DIRDEPS_BUILD: Connect MK_TESTS.

Sponsored by: EMC / Isilon Storage Division


289172 12-Oct-2015 ngie

Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and
netbsd-tests.test.mk (r289151)

- Eliminate explicit OBJTOP/SRCTOP setting
- Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk
- Remove unnecessary TESTSDIR setting
- Use SRCTOP where possible for clarity

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Divison


284345 13-Jun-2015 sjg

Add META_MODE support.

Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision: D2796
Reviewed by: brooks imp


272783 09-Oct-2014 ngie

Integrate usr.bin/cut/tests from NetBSD into atf/kyua

Sponsored by: EMC / Isilon Storage Division


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.