aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/column
Commit message (Collapse)AuthorAgeFilesLines
* Add missing parentheses to fix a segmentation fault that is easilyIan Dowse2006-09-191-3/+3
| | | | | | | | reproducable with `jot -s " " 400 1 | column -t'. The bug was present in the the original CSRG 'column -t' added in 1989. Notes: svn path=/head/; revision=162453
* The change to make column use roundup(x, TAB) rounded things to theDavid Malone2006-02-131-3/+3
| | | | | | | | | | | | | | | | current tab, however the code it replaced wanted to round to the next TAB. Consequently things like this: ( echo 1 ; echo 2 ) | column cause column to loop indefinitely. This patch is slightly different from the one Gary submitted, but is closer to the original code. Submitted by: Gary Cody <gary@lyranthe.org> MFC after: 1 week Notes: svn path=/head/; revision=155621
* Take a swing at using roundup().Juli Mallett2005-01-251-3/+4
| | | | Notes: svn path=/head/; revision=140784
* Sort sections.Ruslan Ermilov2005-01-181-2/+2
| | | | Notes: svn path=/head/; revision=140420
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Scheduled mdoc(7) sweep.Ruslan Ermilov2005-01-111-1/+3
| | | | Notes: svn path=/head/; revision=140055
* Add support for multibyte characters.Tim J. Robbins2004-07-292-42/+78
| | | | Notes: svn path=/head/; revision=132835
* Avoid passing negative values to isspace() on machines with signed chars.Tim J. Robbins2004-07-151-1/+1
| | | | Notes: svn path=/head/; revision=132202
* Document line length and multibyte character limitations.Tim J. Robbins2004-07-151-1/+4
| | | | Notes: svn path=/head/; revision=132184
* ANSify function definitions to avoid a warning.David Malone2002-07-281-10/+7
| | | | Notes: svn path=/head/; revision=100818
* remove __PWarner Losh2002-03-221-6/+6
| | | | Notes: svn path=/head/; revision=92920
* Remove leaf node WARNS?=2 (that mainly I added). This shouldMark Murray2002-02-081-1/+0
| | | | | | | help the GCC3 transition and CURRENT in general. Notes: svn path=/head/; revision=90415
* Style improvements recommended by Bruce as a follow up to someDavid Malone2001-12-101-5/+6
| | | | | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF. Notes: svn path=/head/; revision=87628
* Use __FBSDID().Mark Murray2001-12-021-4/+6
| | | | Notes: svn path=/head/; revision=87246
* WARNS=2 fixup.Mark Murray2001-12-022-2/+3
| | | | Notes: svn path=/head/; revision=87213
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-3/+1
| | | | Notes: svn path=/head/; revision=81687
* Remove the misnamed `emalloc' and replace its uses with calloc (alongDavid E. O'Brien2001-07-241-19/+13
| | | | | | | with error checking) which it effectively was. (malloc+memset) Notes: svn path=/head/; revision=80292
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* Round up before checking if the width is smaller than the widestDavid Malone2001-04-031-3/+5
| | | | | | | | | | column, otherwise we may divide by zero later. PR: 26283 Reviewed by: roam Notes: svn path=/head/; revision=75137
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68963
* Add DIAGNOSTICS section namePhilippe Charnier2000-03-261-5/+6
| | | | Notes: svn path=/head/; revision=58612
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=48792
* Fix display of example usage.Guy Helmer1999-03-071-1/+2
| | | | | | | PR: docs/9833 Notes: svn path=/head/; revision=44562
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).Archie Cobbs1998-12-062-7/+8
| | | | Notes: svn path=/head/; revision=41568
* Fix example to match ls(1)'s output.Steve Price1997-08-201-1/+1
| | | | | | | | PR: docs/3681 Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp> Notes: svn path=/head/; revision=28437
* Add missing -s flag in usage string.Philippe Charnier1997-06-301-1/+1
| | | | Notes: svn path=/head/; revision=27093
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* This commit was generated by cvs2svn to compensate for changes in r23690,Peter Wemm1997-03-111-1/+2
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=23691
| * Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build.Peter Wemm1997-03-111-0/+305
| | | | Notes: svn path=/vendor/CSRG/dist/; revision=23690
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-273-0/+408
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590