The NetBSD Project

CVS log for src/usr.bin/pr/pr.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / pr

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27 / (download) - annotate - [select for diffs], Mon May 23 19:52:35 2022 UTC (8 months, 1 week ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

s/boundries/boundaries/, s/itterate/iterate/ and few more typos.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Apr 8 10:17:55 2022 UTC (9 months, 3 weeks ago) by andvar
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

fix various typos, mainly in comments, but also log messages, docs, game text.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Dec 5 08:03:07 2021 UTC (13 months, 4 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

s/succesful/successful/ in comment.

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 19:00:26 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.21.2.1: +94 -16 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

sync with head

Revision 1.24 / (download) - annotate - [select for diffs], Wed Aug 1 02:27:48 2012 UTC (10 years, 6 months ago) by ginsbach
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Changes since 1.23: +8 -5 lines
Diff to previous 1.23 (colored)

Minor tweaks to usage:
- Sort options to match pr(1) SYNOPSIS (suggested by wiz)
- Add missing -T timefmt option

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jul 24 02:13:04 2012 UTC (10 years, 6 months ago) by ginsbach
Branch: MAIN
Changes since 1.22: +89 -14 lines
Diff to previous 1.22 (colored)

- Fix PR 19468 by adding -f and -p options to pr(1).
  Changes adapted from patch by Ryan Younce and FreeBSD.  The provided
  patch was not used directly as the changes didn't mimic the System V
  origins of these options.  System V pr(1) does not pause for empty files.
  These changes follow that precedent.

- Improve man page description of the -i option.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:38 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.21: +4 -18 lines
Diff to previous 1.21 (colored)

sync with head

Revision 1.22 / (download) - annotate - [select for diffs], Mon Mar 12 18:06:24 2012 UTC (10 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Changes since 1.21: +4 -18 lines
Diff to previous 1.21 (colored)

PR/41880: Ralph G. Previous fix for PR/5797 broke since space separator.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Sep 6 18:26:06 2011 UTC (11 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache
Changes since 1.20: +125 -160 lines
Diff to previous 1.20 (colored)

ANSIfy, static + __dead

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Wed May 13 19:20:01 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.19: +9 -9 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 13 00:37:05 2009 UTC (13 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.19: +9 -9 lines
Diff to previous 1.19 (colored)

Fix -Wcast-qual issues

Revision 1.18.8.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:29:18 2008 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jul 21 14:19:24 2008 UTC (14 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, 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-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, 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-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-base2
Branch point for: jym-xensuspend
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:36:14 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.17: +4 -2 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

sync with HEAD

Revision 1.18 / (download) - annotate - [select for diffs], Sun Oct 14 11:21:32 2007 UTC (15 years, 3 months ago) by lukem
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, cube-autoconf-base, cube-autoconf
Branch point for: wrstuden-revivesa
Changes since 1.17: +4 -2 lines
Diff to previous 1.17 (colored)

Convert to using raise_default_signal(3).

Revision 1.17 / (download) - annotate - [select for diffs], Sun Apr 29 20:23:37 2007 UTC (15 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

fix typos

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:17:07 2006 UTC (16 years, 7 months ago) by chap
Branch: chap-midi
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Wed May 24 15:59:06 2006 UTC (16 years, 8 months ago) by christos
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, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Coverity CID 3212: Don't return, goto out in all cases so that cleanup
happens.

Revision 1.15 / (download) - annotate - [select for diffs], Mon May 1 23:31:10 2006 UTC (16 years, 9 months ago) by christos
Branch: MAIN
Branch point for: chap-midi
Changes since 1.14: +6 -4 lines
Diff to previous 1.14 (colored)

Coverity CID 2989: Use the error path to return.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Apr 2 04:17:08 2006 UTC (16 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.13: +128 -97 lines
Diff to previous 1.13 (colored)

Coverity CID 1660: Plug memory leaks.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Dec 28 21:29:16 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

PR/32402: Jeffrey Bedard: pr filter dumps core with -s option specified,
when -s is specified with no argument. Option arguments in pr (as documented)
need to immediately follow the option. For example to set the separator char
to `.' you need to use "pr -s." instread of "pr -s .". The second form sets
the separator character to tab, and reads from file `.'. Coredumping is wrong
anyway, so fix that. Grr to POSIX for not forcing pr and a few other utilities
to use getopt(3).
cvs: ----------------------------------------------------------------------

Revision 1.12 / (download) - annotate - [select for diffs], Mon Oct 13 07:41:22 2003 UTC (19 years, 3 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, 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, netbsd-3, 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, netbsd-2
Changes since 1.11: +3 -37 lines
Diff to previous 1.11 (colored)

Move Keith Muller's code from a 4-clause to a 3-clause licence by removing
the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed
to the board by Keith Muller.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Aug 7 11:15:30 2003 UTC (19 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.10: +33 -3 lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Sun Jul 22 13:34:13 2001 UTC (21 years, 6 months 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, fvdl_fs64_base
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

seperate -> separate

Revision 1.7.10.2 / (download) - annotate - [select for diffs], Wed Oct 25 16:29:11 2000 UTC (22 years, 3 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2
Changes since 1.7.10.1: +7 -6 lines
Diff to previous 1.7.10.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Pullup 1.9 [kleink]:
Don't abuse LC_TIME for strftime(3) format strings.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Oct 22 15:06:52 2000 UTC (22 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.8: +7 -6 lines
Diff to previous 1.8 (colored)

Don't be silly and try to read an strftime() format string from the LC_TIME
environment variable; since there isn't a standard format provided by the
C library that corresponds to pr's default header format, add a new option
'-T' to take a strftime() format string if desired.

Revision 1.7.10.1 / (download) - annotate - [select for diffs], Thu Jul 13 03:23:33 2000 UTC (22 years, 6 months ago) by simonb
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.7: +16 -2 lines
Diff to previous 1.7 (colored)

Pull up rev 1.8 from trunk:
 For the -i option, don't convert a single space before a tab stop to a
 tab.  Fixes PR bin/5797 from Todd Vierling.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jul 13 02:07:53 2000 UTC (22 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.7: +16 -2 lines
Diff to previous 1.7 (colored)

For the -i option, don't convert a single space before a tab stop to a
tab.  Fixes PR bin/5797 from Todd Vierling.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Dec 19 20:16:50 1998 UTC (24 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, 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
Branch point for: netbsd-1-5
Changes since 1.6: +20 -11 lines
Diff to previous 1.6 (colored)

char -> unsigned char

Revision 1.6 / (download) - annotate - [select for diffs], Thu Apr 2 10:42:51 1998 UTC (24 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Need <time.h> for localtime() and strftime() prototypes.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 19 12:42:10 1997 UTC (25 years, 3 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.4: +61 -56 lines
Diff to previous 1.4 (colored)

WARNSify, fix .Nm usage, deprecate register

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jan 9 15:01:36 1997 UTC (26 years ago) by tls
Branch: MAIN
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

RCS ID police

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Thu Jan 9 14:49:44 1997 UTC (26 years ago) by tls
Branch: CSRG
CVS Tags: lite-2
Changes since 1.1: +39 -40 lines
Diff to previous 1.1 (colored)

Import from 4.4BSD-Lite2

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 7 16:10:11 1995 UTC (27 years, 8 months ago) by cgd
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.2: +8 -4 lines
Diff to previous 1.2 (colored)

can't assume that timeval.ts_sec is same type as time_t.  grr.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 7 05:42:17 1994 UTC (28 years, 11 months ago) by cgd
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.1: +1 -4 lines
Diff to previous 1.1 (colored)

from John F. Woods <jfw@ksr.com>:
don't crap out if -w specified and not in multi-column mode.
my reading of my draft of P.2 indicates that this is allowed, just
ignored...

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jan 6 15:57:25 1994 UTC (29 years, 1 month ago) by cgd
Branch: MAIN

add berkeley pr

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>