Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/usr.bin/pr Pullup 1.10 [kleink]:



details:   https://anonhg.NetBSD.org/src/rev/986fd5b9f797
branches:  netbsd-1-5
changeset: 489984:986fd5b9f797
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Oct 25 16:29:02 2000 +0000

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

diffstat:

 usr.bin/pr/pr.1 |  15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r a316f0771a0a -r 986fd5b9f797 usr.bin/pr/pr.1
--- a/usr.bin/pr/pr.1   Wed Oct 25 16:19:23 2000 +0000
+++ b/usr.bin/pr/pr.1   Wed Oct 25 16:29:02 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pr.1,v 1.9 1999/11/19 22:29:26 kristerw Exp $
+.\"    $NetBSD: pr.1,v 1.9.4.1 2000/10/25 16:29:02 tv Exp $
 .\"
 .\" Copyright (c) 1991 Keith Muller.
 .\" Copyright (c) 1993
@@ -36,7 +36,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)pr.1 8.1 (Berkeley) 6/6/93
-.\"    $NetBSD: pr.1,v 1.9 1999/11/19 22:29:26 kristerw Exp $
+.\"    $NetBSD: pr.1,v 1.9.4.1 2000/10/25 16:29:02 tv Exp $
 .\"
 .Dd June 6, 1993
 .Dt PR 1
@@ -83,6 +83,9 @@
 .Oc
 .Ek
 .Bk -words
+.Op Fl T Ar timefmt
+.Ek
+.Bk -words
 .Oo
 .Op Fl n
 .Op Ar char
@@ -277,6 +280,11 @@
 is the
 .Em <tab>
 character).
+.It Fl T
+Specify an
+.Xr strftime 3
+format string to be used to format the date and time information in the page
+header.
 .It Fl t
 Print neither the five-line identifying
 header nor the five-line trailer usually supplied for each page.
@@ -340,7 +348,8 @@
 file printing is complete (when printing to a terminal).
 .Sh SEE ALSO
 .Xr cat 1 ,
-.Xr more 1
+.Xr more 1 ,
+.Xr strftime 3
 .Sh STANDARDS
 The
 .Nm



Home | Main Index | Thread Index | Old Index