This repository was archived by the owner on Dec 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcacheline.1
48 lines (46 loc) · 1.87 KB
/
cacheline.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.\" -*- nroff -*-
.\" cacheline.1 - Manual page for cacheline.
.\"
.\" Copyright (C) 2001-2005 Oskar Liljeblad
.\"
.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU Library General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
.\"
.TH CACHELINE "1" "May 4, 2005" "cacheline (regex-markup)"
.SH NAME
cacheline \- Delay newlines in output
.SH SYNOPSIS
.B cacheline
.SH DESCRIPTION
This manual page document describes the \fBcacheline\fP command.
The cacheline program reads from standard in and writes to standard
out. Whenever a newline character is read, it is inhibited and not
printed until another character is read. This way, when monitoring
files on a terminal (e.g. with tail), the bottom row (line) can be
used. (Normally this line is always empty due to the last newline
character printed.)
.SH OPTIONS
None.
.SH EXAMPLES
Monitor a syslog file:
.br
\fBtail -f /var/log/syslog | cacheline\fB
.SH REPORTING BUGS
Report bugs to <\fIoskar@osk.mine.nu\fP>.
.SH AUTHOR
\fBcacheline\fP was written by Oskar Liljeblad <\fIoskar@osk.mine.nu\fP>.
.SH COPYRIGHT
Copyright \(co 2001-2005 Oskar Liljeblad
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.