summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjschauma <jschauma>2002-12-13 23:01:41 +0000
committerjschauma <jschauma>2002-12-13 23:01:41 +0000
commit76df29224af4037f5f55f4085a2639f158b6f940 (patch)
treedf7e9de040d47d25b2a12e3b235aad50d378a021 /misc
parent017cdf0874d28d54958b284ed4609fc35b63d319 (diff)
downloadpkgsrc-76df29224af4037f5f55f4085a2639f158b6f940.tar.gz
Add an old man-page that I had sitting around.
(Originally also sent to the author, but didn't hear back from him.)
Diffstat (limited to 'misc')
-rw-r--r--misc/colortail/Makefile3
-rw-r--r--misc/colortail/PLIST3
-rw-r--r--misc/colortail/distinfo3
-rw-r--r--misc/colortail/patches/patch-ac96
4 files changed, 102 insertions, 3 deletions
diff --git a/misc/colortail/Makefile b/misc/colortail/Makefile
index e3af176f803..0f43c58ec02 100644
--- a/misc/colortail/Makefile
+++ b/misc/colortail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/03/31 11:24:53 zuntum Exp $
+# $NetBSD: Makefile,v 1.5 2002/12/13 23:01:41 jschauma Exp $
# FreeBSD Id: ports/misc/colortail/Makefile,v 1.10 2000/06/28 17:20:27 alex Exp
DISTNAME= colortail-0.3.0
@@ -14,6 +14,7 @@ CONFIGURE_ARGS+=--datadir=${PREFIX}/share/examples/colortail
DESCR_SRC= ${WRKDIR}/.DESCR_SRC
post-install:
+ ${INSTALL_MAN} ${WRKSRC}/colortail.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/colortail
cd ${WRKSRC}/example-conf/ && \
${INSTALL_DATA} conf.kernel conf.messages conf.secure \
diff --git a/misc/colortail/PLIST b/misc/colortail/PLIST
index c0b811409f6..64a2e5decc3 100644
--- a/misc/colortail/PLIST
+++ b/misc/colortail/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:27:46 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/12/13 23:01:42 jschauma Exp $
bin/colortail
+man/man1/colortail.1
share/examples/colortail/conf.daemon
share/examples/colortail/conf.kernel
share/examples/colortail/conf.messages
diff --git a/misc/colortail/distinfo b/misc/colortail/distinfo
index 1be0c204bee..18a40536008 100644
--- a/misc/colortail/distinfo
+++ b/misc/colortail/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 13:52:09 agc Exp $
+$NetBSD: distinfo,v 1.3 2002/12/13 23:01:42 jschauma Exp $
SHA1 (colortail-0.3.0.tar.gz) = 5c55a9b0550868129d8ede133f6b34fa5356c5ce
Size (colortail-0.3.0.tar.gz) = 54329 bytes
SHA1 (patch-aa) = 21a8249fd27487078d141a2e30e1e917586e1c3a
SHA1 (patch-ab) = 055d1a11e6a555b569d11fe2c870332ae93b13e6
+SHA1 (patch-ac) = fed43fd42497b951dd237f86ef08337f76fef494
diff --git a/misc/colortail/patches/patch-ac b/misc/colortail/patches/patch-ac
new file mode 100644
index 00000000000..85f0e223960
--- /dev/null
+++ b/misc/colortail/patches/patch-ac
@@ -0,0 +1,96 @@
+$NetBSD: patch-ac,v 1.1 2002/12/13 23:01:43 jschauma Exp $
+
+--- /dev/null Fri Dec 13 17:52:18 2002
++++ colortail.1 Fri Dec 13 17:54:23 2002
+@@ -0,0 +1,91 @@
++.TH COLORTAIL 1 "August 02, 2001" "System Utilities" colortail
++.SH NAME
++colortail \- output the last part of files, optionally with color
++
++.SH SYNOPSIS
++.B colortail
++[\fIOPTION\fR]... [\fIFILE\fR]...
++
++.SH DESCRIPTION
++Print last 10 lines of each FILE to standard output.
++With more than one FILE, precede each with a header giving the file name.
++
++\fBcolortail\fR works like tail but can optionally read one or more config files
++where it's specified which patterns results in which colors.
++
++\fBcolortail\fR uses regular expressions (see \fIregex(7)\fR) to determine
++which lines and parts of lines to print in which colors.
++
++.SH USAGE
++Most options are easily understandood. The only somewhat strange option is the
++\fI-k\fR option that specifies the config files so \fBcolortail\fR knows what
++should be printed in which color.
++
++If only one config file and one or more tail files is given the config file
++is treated as a global one, i.e.
++
++\fBcolortail\fR \fI-k\fR conf.global file1 file2 file3
++
++Multiple config files are separated with a , and if one tail file shouldn't
++have a config file just leave it blank, i.e.
++
++\fBcolortail\fR \fI-k\fR conf.file1,,conf.file3 file1 file2 file3
++
++.SH OPTIONS
++This program follow the usual GNU command line syntax, with long options
++starting with two dashes (`--'). A summary of options is included below.
++
++.TP
++.B \-f, \-\-follow
++output appended data as the file grows
++
++.TP
++.B \-h, \-\-help
++Show summary of options.
++.TP
++.B \-k, \-\-config=file, \-\-config=file1,file2,...
++color config files for the tail files. If only one config file it's global
++otherwise one config file for each tail file
++.TP
++\fB\-n, \-\-lines=\fR\fIN\fR
++output the last \fIN\fR lines, instead of last 10
++.TP
++.TP
++.B \-v, \-\-version
++output version information and exit
++
++.SH FILE FORMAT
++The file specified by the \fI-k\fR option tells colortail how to display the
++output according to regular expressions. The file mapps one or more regular
++expressions to one of the following colors: brightblue, brightred,
++brightwhite, blue, cyan, green, magenta, yellow. Comments start with a "#":
++
++COLOR brightred
++.br
++{
++.br
++# matches the word "root"
++.br
++^.*(root).*$
++.br
++}
++.br
++
++.SH VERSION
++0.3.0
++
++.SH BUGS
++
++Under certain circumstances \fBcolortail\fR may miss some characters when
++tailing forever. This bug also exists in \fItail(1)\fR. If you have found a
++bug, please send a mail to pt98jan@student.hk-r.se
++
++.SH SEE ALSO
++.BR regex (7),
++.BR tail (1)
++
++.SH AUTHOR
++.nr
++Joakim Andersson <pt98jan@student.hk-r.se> - colortail
++.br
++Jan Schaumann <jschauma@netmeister.org> - this man page