Home | History | Annotate | only in /src/usr.bin/pr
History log of /src/usr.bin/pr
RevisionDateAuthorComments
 1.4 16-Aug-2011  christos document non-literal format string.
 1.3 14-Oct-2007  lukem Convert to using raise_default_signal(3).
 1.2 09-Jan-1997  tls branches: 1.2.38;
RCS ID police
 1.1 06-Jan-1994  cgd branches: 1.1.1;
add berkeley pr
 1.1.1.1 09-Jan-1997  tls Import from 4.4BSD-Lite2
 1.2.38.1 06-Nov-2007  matt sync with HEAD
 1.9 06-Sep-2011  joerg ANSIfy, static + __dead
 1.8 13-Apr-2009  lukem Fix -Wcast-qual issues
 1.7 13-Oct-2003  agc branches: 1.7.42;
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.
 1.6 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.5 26-Feb-2002  wiz Correct spelling of "delimiter", and remove from ignored-errors lists.
 1.4 19-Dec-1998  christos char -> unsigned char
 1.3 19-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register
 1.2 09-Jan-1997  tls RCS ID police
 1.1 06-Jan-1994  cgd branches: 1.1.1;
add berkeley pr
 1.1.1.1 09-Jan-1997  tls Import from 4.4BSD-Lite2
 1.7.42.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.6 06-Sep-2011  joerg ANSIfy, static + __dead
 1.5 13-Apr-2009  lukem Fix -Wcast-qual issues
 1.4 13-Oct-2003  agc branches: 1.4.42;
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.
 1.3 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.2 09-Jan-1997  tls RCS ID police
 1.1 06-Jan-1994  cgd branches: 1.1.1;
add berkeley pr
 1.1.1.1 09-Jan-1997  tls Import from 4.4BSD-Lite2
 1.4.42.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.24 01-Sep-2019  sevan Document history
https://www.bell-labs.com/usr/dmr/www/man13.pdf
 1.23 03-Jul-2017  wiz branches: 1.23.6; 1.23.8;
Remove workaround for ancient HTML generation code.
 1.22 01-Aug-2012  ginsbach - Fix optional argument options (e, i, n, s) in SYNOPSIS and DESCRIPTION
+ First three take two optional arguments
+ All require no space between option and optional argument(s)
+ Make sure that -e and -i similarly describe optional [char] and [gap]
 1.21 27-Jul-2012  wiz Fix error in SYNOPSIS, sort.
 1.20 27-Jul-2012  wiz New sentence, new line.
Use Aq or Ao/Ac instead of \*[Lt] \*[Gt].
Remove duplicate RCS Id.
 1.19 24-Jul-2012  ginsbach - 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.
 1.18 08-Apr-2012  wiz Remove unnecessary Bk/Ek pairs from SYNOPSIS.
No effective change except where I used the opportunity to sort options
and/or option descriptions.
 1.17 11-Mar-2009  joerg branches: 1.17.6;
Use semantic markup
 1.16 13-Oct-2003  agc branches: 1.16.42;
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.
 1.15 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.14 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.13 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.12 08-Dec-2001  wiz Punctuation nits, drop superfluous .Pps.
 1.11 01-Dec-2001  wiz Whitespace cleanup.
 1.10 22-Oct-2000  kleink 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.
 1.9 19-Nov-1999  kristerw branches: 1.9.4;
Typos (from OpenBSD)
 1.8 22-Mar-1999  garbled branches: 1.8.6;
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
 1.7 07-Mar-1999  mycroft Clean up SYNOPSIS formatting.
 1.6 19-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register
 1.5 26-Jun-1997  kleink Fix formatting directives; from SAITOH Masanobu <msaitoh@spa.is.uec.ac.jp>
in PR misc/3795.
 1.4 09-Jan-1997  tls RCS ID police
 1.3 12-Sep-1995  jtc fix typo; PR #1457
 1.2 07-Jul-1995  jtc Remove duplicated word; PR #1194
 1.1 06-Jan-1994  cgd branches: 1.1.1;
add berkeley pr
 1.1.1.1 09-Jan-1997  tls Import from 4.4BSD-Lite2
 1.8.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.9.4.1 25-Oct-2000  tv Pullup 1.10 [kleink]:
Don't abuse LC_TIME for strftime(3) format strings.
 1.16.42.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.17.6.2 30-Oct-2012  yamt sync with head
 1.17.6.1 17-Apr-2012  yamt sync with head
 1.23.8.1 05-Sep-2019  martin Pull up following revision(s) (requested by sevan in ticket #174):
lib/libc/sys/chmod.2: revision 1.48
lib/libc/sys/stat.2: revision 1.59
lib/libc/sys/unlink.2: revision 1.30
lib/libc/sys/lseek.2: revision 1.25
lib/libc/sys/getuid.2: revision 1.18
lib/libc/sys/chown.2: revision 1.37
lib/libm/man/exp.3: revision 1.32
lib/libm/man/log.3: revision 1.7
lib/libc/sys/open.2: revision 1.60
lib/libc/stdio/fopen.3: revision 1.36
lib/libc/stdio/putc.3: revision 1.14
lib/libc/sys/mount.2: revision 1.51
share/man/man9/copy.9: revision 1.22
share/man/man9/uiomove.9: revision 1.20
lib/libc/sys/setuid.2: revision 1.23
lib/libc/sys/close.2: revision 1.18
sbin/init/init.8: revision 1.61
lib/libc/sys/write.2: revision 1.36
lib/libc/sys/read.2: revision 1.39
sbin/init/init.8: revision 1.62
lib/libc/sys/wait.2: revision 1.40
usr.bin/tty/tty.1: revision 1.10
lib/libc/sys/link.2: revision 1.33
usr.bin/du/du.1: revision 1.24
lib/libc/stdlib/exit.3: revision 1.17
usr.bin/su/su.1: revision 1.53
usr.bin/mail/mail.1: revision 1.66
lib/libc/sys/fork.2: revision 1.25
usr.bin/su/su.1: revision 1.54
usr.bin/mail/mail.1: revision 1.67
lib/libm/man/sin.3: revision 1.15
share/man/man9/intro.9: revision 1.26
share/man/man5/utmp.5: revision 1.17
lib/libc/compat-43/creat.3: revision 1.17
lib/libc/time/ctime.3: revision 1.61
lib/libcompat/4.1/stty.3: revision 1.10
usr.bin/dc/dc.1: revision 1.3
lib/libm/man/cos.3: revision 1.17
lib/libc/sys/chdir.2: revision 1.23
lib/libc/gen/exec.3: revision 1.30
lib/libc/gen/exec.3: revision 1.31
games/bcd/bcd.6: revision 1.18
games/bcd/bcd.6: revision 1.19
usr.bin/write/write.1: revision 1.7
usr.bin/wc/wc.1: revision 1.18
usr.bin/pr/pr.1: revision 1.24
usr.bin/who/who.1: revision 1.25
lib/libc/sys/mkdir.2: revision 1.30
lib/libc/stdio/getc.3: revision 1.13
usr.bin/sort/sort.1: revision 1.40
usr.bin/mesg/mesg.1: revision 1.11
share/man/man5/passwd.5: revision 1.34
sort was there since v1
https://www.bell-labs.com/usr/dmr/www/man61.pdf

dc was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

du was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

mail was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

mesg was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man13.pdf

su was in v1
https://www.bell-labs.com/usr/dmr/www/man13.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man13.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man14.pdf
Update URL

write was in v1
https://www.bell-labs.com/usr/dmr/www/man14.pdf
grammar

passwd(5) was in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf

utmp(5) was present in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf

Earliest version of wtmp I could find was in v3
https://minnie.tuhs.org/cgi-bin/utree.pl?file=V3/man/man5/wtmp.5

Document history of chdir(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history of chmod(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history of chown(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

create was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history of exec()
Move statement on execlpe() & execvpe() to HISTORY section.

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

fork was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
stat() was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

document history of fstat()
https://www.bell-labs.com/usr/dmr/www/man21.pdf

getuid was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

stty & gtty were around since v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
https://www.bell-labs.com/usr/dmr/www/man22.pdf

mount & umount were present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

Open was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

read was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

seek was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

setuid was in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

unlink was presen in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

wait was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

write was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

start documenting history
exp was present in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf

Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf

Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf

log appeared in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf

putc & putw were in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf

putchar was in v4
https://minie.tuhs.org/cgi-bin/utree.pl?file=V4/man/man3/putchr.3

Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf

Document history.
https://www.bell-labs.com/usr/dmr/www/man11.pdf
Between v1 & v6 UNIX, bcd was rewritten in C, but I don't know if which
version,
hence I've skipped mentioning it.
End sentence with a dot.
Remove superfluous Pp.
Remove superfluous Pp.
Remove superfluous Ns.
Remove superfluous Pp.
fetch(9) -> ufetch(9)
fetch(9) -> ufetch(9). Remove superfluous Pp.
fetch(9) -> ufetch(9). Remove reference to unimplemented ppi(9).
 1.23.6.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.27 23-May-2022  andvar s/boundries/boundaries/, s/itterate/iterate/ and few more typos.
 1.26 08-Apr-2022  andvar fix various typos, mainly in comments, but also log messages, docs, game text.
 1.25 05-Dec-2021  msaitoh s/succesful/successful/ in comment.
 1.24 01-Aug-2012  ginsbach Minor tweaks to usage:
- Sort options to match pr(1) SYNOPSIS (suggested by wiz)
- Add missing -T timefmt option
 1.23 24-Jul-2012  ginsbach - 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.
 1.22 12-Mar-2012  christos PR/41880: Ralph G. Previous fix for PR/5797 broke since space separator.
 1.21 06-Sep-2011  joerg branches: 1.21.2;
ANSIfy, static + __dead
 1.20 13-Apr-2009  lukem Fix -Wcast-qual issues
 1.19 21-Jul-2008  lukem branches: 1.19.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.18 14-Oct-2007  lukem branches: 1.18.8;
Convert to using raise_default_signal(3).
 1.17 29-Apr-2007  msaitoh branches: 1.17.4;
fix typos
 1.16 24-May-2006  christos Coverity CID 3212: Don't return, goto out in all cases so that cleanup
happens.
 1.15 01-May-2006  christos branches: 1.15.2;
Coverity CID 2989: Use the error path to return.
 1.14 02-Apr-2006  christos Coverity CID 1660: Plug memory leaks.
 1.13 28-Dec-2005  christos 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: ----------------------------------------------------------------------
 1.12 13-Oct-2003  agc 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.
 1.11 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.10 22-Jul-2001  wiz seperate -> separate
 1.9 22-Oct-2000  kleink 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.
 1.8 13-Jul-2000  simonb For the -i option, don't convert a single space before a tab stop to a
tab. Fixes PR bin/5797 from Todd Vierling.
 1.7 19-Dec-1998  christos branches: 1.7.10;
char -> unsigned char
 1.6 02-Apr-1998  kleink Need <time.h> for localtime() and strftime() prototypes.
 1.5 19-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register
 1.4 09-Jan-1997  tls RCS ID police
 1.3 07-Jun-1995  cgd can't assume that timeval.ts_sec is same type as time_t. grr.
 1.2 07-Mar-1994  cgd 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...
 1.1 06-Jan-1994  cgd branches: 1.1.1;
add berkeley pr
 1.1.1.1 09-Jan-1997  tls Import from 4.4BSD-Lite2
 1.7.10.2 25-Oct-2000  tv Pullup 1.9 [kleink]:
Don't abuse LC_TIME for strftime(3) format strings.
 1.7.10.1 13-Jul-2000  simonb 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.
 1.15.2.1 19-Jun-2006  chap Sync with head.
 1.17.4.1 06-Nov-2007  matt sync with HEAD
 1.18.8.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.19.6.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.21.2.2 30-Oct-2012  yamt sync with head
 1.21.2.1 17-Apr-2012  yamt sync with head
 1.5 24-Jul-2012  ginsbach - 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.
 1.4 13-Oct-2003  agc branches: 1.4.56;
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.
 1.3 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.2 09-Jan-1997  tls RCS ID police
 1.1 06-Jan-1994  cgd branches: 1.1.1;
add berkeley pr
 1.1.1.1 09-Jan-1997  tls Import from 4.4BSD-Lite2
 1.4.56.1 30-Oct-2012  yamt sync with head

RSS XML Feed