Up to [cvs.NetBSD.org] / src / usr.bin / cut
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.28 / (download) - annotate - [select for diffs], Wed Jun 20 17:53:39 2012 UTC (10 months, 4 weeks ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.27: +5 -5
lines
Diff to previous 1.27 (colored)
- remove trailing white space; - synchronize argument name to `-d' in `usage' line with man page. From Bug Hunting.
Revision 1.27 / (download) - annotate - [select for diffs], Sat Jun 9 19:22:47 2012 UTC (11 months, 1 week ago) by wiz
Branch: MAIN
Changes since 1.26: +5 -5
lines
Diff to previous 1.26 (colored)
Add -b to short error messages. Fix typo. From Bug Hunting in PR 44747.
Revision 1.26 / (download) - annotate - [select for diffs], Fri Apr 6 11:34:58 2012 UTC (13 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4
Changes since 1.25: +4 -4
lines
Diff to previous 1.25 (colored)
Sync usage with man page, from Bug Hunting.
Revision 1.25 / (download) - annotate - [select for diffs], Mon Jul 21 14:19:22 2008 UTC (4 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-premerge-20091211,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-premerge-20101231,
matt-mips64-base2,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.24: +4 -4
lines
Diff to previous 1.24 (colored)
Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
Revision 1.24 / (download) - annotate - [select for diffs], Sat Dec 15 19:44:49 2007 UTC (5 years, 5 months ago) by perry
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base
Branch point for: wrstuden-revivesa
Changes since 1.23: +3 -3
lines
Diff to previous 1.23 (colored)
convert __attribute__s to applicable cdefs.h macros
Revision 1.23 / (download) - annotate - [select for diffs], Mon Jul 2 18:41:03 2007 UTC (5 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf
Branch point for: matt-armv6
Changes since 1.22: +47 -31
lines
Diff to previous 1.22 (colored)
PR/36583: Aleksey Cheusov: /usr/bin/cut: -[bcf] positions are limited to 2048 Fix provided by Anon Ymous.
Revision 1.22 / (download) - annotate - [select for diffs], Sat Feb 17 19:10:00 2007 UTC (6 years, 3 months ago) by hubertf
Branch: MAIN
Changes since 1.21: +23 -33
lines
Diff to previous 1.21 (colored)
Teach 'cut -c' about multibyte characters. Fixes PR 34244, using the patch from the PR and some hacking by myself to avoid code redundancy. Passes the regression tests I've added. (How many weeks of purgatory do I get for the cpp(1) hack to avoid code redundancy? I guess I can always say it was inspired by some old version of our md5 sources...)
Revision 1.21 / (download) - annotate - [select for diffs], Sat Jul 29 02:01:24 2006 UTC (6 years, 9 months ago) by jnemeth
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.20: +10 -6
lines
Diff to previous 1.20 (colored)
PR/33995: Aleksey Cheusov: support use "-" to indicate stdin from SUS
Revision 1.20 / (download) - annotate - [select for diffs], Tue Apr 25 19:34:42 2006 UTC (7 years ago) by christos
Branch: MAIN
CVS Tags: chap-midi-nbase,
chap-midi-base,
chap-midi
Changes since 1.19: +4 -2
lines
Diff to previous 1.19 (colored)
Coverity CID 2790: Always free tmp buffer, not somethimes.
Revision 1.19 / (download) - annotate - [select for diffs], Thu Mar 30 19:17:44 2006 UTC (7 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.18: +7 -5
lines
Diff to previous 1.18 (colored)
If fgetln() returns a buffer that isn't terminated by \n, free the temporary buffer inside the loop. Fixes coverty CID:1674. (This should only happen at EOF, so the loop SHOULD terminate.) While here always output a newline at the end of the input data even when the last (unterminated) line doesn't contain a separator.
Revision 1.18 / (download) - annotate - [select for diffs], Tue Mar 22 21:56:28 2005 UTC (8 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.17: +17 -7
lines
Diff to previous 1.17 (colored)
a fix from openbsd. XXX is it better to output a newline? > revision 1.7 > date: 2000/06/04 23:52:19; author: aaron; state: Exp; lines: +30 -14 > Handle the case where the last line of input does not contain a newline; issue > reported by marc@snafu.org. The main thing here is we use fgetln() instead of > fgets(), also giving us the advantage of being able to handle lines of > unlimited length. Some -Wall and other fixes from millert@ as well.
Revision 1.17 / (download) - annotate - [select for diffs], Thu Feb 17 17:35:47 2005 UTC (8 years, 3 months ago) by xtraeme
Branch: MAIN
CVS Tags: netbsd-3-base,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Branch point for: netbsd-3
Changes since 1.16: +12 -20
lines
Diff to previous 1.16 (colored)
Kill __P(), use ANSI function declarations, constify; WARNS=3.
Revision 1.16 / (download) - annotate - [select for diffs], Thu Aug 7 11:13:32 2003 UTC (9 years, 9 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0
Branch point for: netbsd-2
Changes since 1.15: +3 -7
lines
Diff to previous 1.15 (colored)
Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22365, verified by myself.
Revision 1.15 / (download) - annotate - [select for diffs], Tue Jun 11 06:06:18 2002 UTC (10 years, 11 months ago) by itojun
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.14: +6 -6
lines
Diff to previous 1.14 (colored)
err/errx/warn/warnx do not need \n at the end
Revision 1.14 / (download) - annotate - [select for diffs], Sun May 12 21:28:50 2002 UTC (11 years ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Changes since 1.13: +5 -4
lines
Diff to previous 1.13 (colored)
Sync usage with man page synopsis. From Ryan Younce in bin/16644, with slight changes.
Revision 1.13 / (download) - annotate - [select for diffs], Fri Nov 6 23:07:39 1998 UTC (14 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
minoura-xpg4dl-base,
minoura-xpg4dl,
comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.12: +4 -4
lines
Diff to previous 1.12 (colored)
char -> unsigned char
Revision 1.12 / (download) - annotate - [select for diffs], Tue Aug 25 20:59:36 1998 UTC (14 years, 8 months ago) by ross
Branch: MAIN
Changes since 1.11: +10 -6
lines
Diff to previous 1.11 (colored)
Add { and } to shut up egcs. Reformat the more questionable code.
Revision 1.11 / (download) - annotate - [select for diffs], Sat Oct 18 13:21:39 1997 UTC (15 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Changes since 1.10: +15 -12
lines
Diff to previous 1.10 (colored)
WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register
Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 11 09:41:45 1997 UTC (16 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.9: +3 -3
lines
Diff to previous 1.9 (colored)
getopt returns -1 not EOF.
Revision 1.9 / (download) - annotate - [select for diffs], Sat Sep 2 05:59:23 1995 UTC (17 years, 8 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2,
netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Changes since 1.8: +4 -4
lines
Diff to previous 1.8 (colored)
Sync with 4.4lite2
Revision 1.8 / (download) - annotate - [select for diffs], Sun Mar 26 20:51:27 1995 UTC (18 years, 1 month ago) by glass
Branch: MAIN
Changes since 1.7: +46 -46
lines
Diff to previous 1.7 (colored)
Merged with 4.4Lite
Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 20 23:50:43 1995 UTC (18 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +3 -2
lines
Diff to previous 1.6 (colored)
Better-looking patch for a problem already fixed.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Dec 31 19:24:42 1993 UTC (19 years, 4 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Changes since 1.5: +8 -6
lines
Diff to previous 1.5 (colored)
Minor tweaks. The most significant problem of not being able to handle text files with infinately long lines (required by POSIX.2) has not been addressed.
Revision 1.5 / (download) - annotate - [select for diffs], Fri Aug 27 22:30:16 1993 UTC (19 years, 8 months ago) by jtc
Branch: MAIN
Changes since 1.4: +5 -2
lines
Diff to previous 1.4 (colored)
Minor tweaks: including header files to bring prototypes into scope, explicitly declaring function return values, etc. to make gcc -Wall shut up.
Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 16 22:44:51 1993 UTC (19 years, 9 months ago) by jtc
Branch: MAIN
Changes since 1.3: +7 -2
lines
Diff to previous 1.3 (colored)
Make cut 1003.2 compliant by adding -b and -n options. This was trivial, as we don't support multibyte characters yet.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 1 18:16:57 1993 UTC (19 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +2 -1
lines
Diff to previous 1.2 (colored)
Add RCS identifiers.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 2 20:21:47 1993 UTC (20 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1,
netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9,
netbsd-0-8
Changes since 1.1: +1 -1
lines
Diff to previous 1.1 (colored)
Simon J. Gerraty <sjg@zen.void.oz.au>: cut -f1 outputs a field separator before the first field.
Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (20 years, 2 months ago) by cgd
Branch: MAIN
Initial revision