source: trunk/athena/bin/rep/rep.1 @ 9516

Revision 9516, 1.4 KB checked in by ghudson, 27 years ago (diff)
Add and MIT copyright and RCS ID. Stylistic corrections. Say what the default interval is.
Line 
1.\" $Id: rep.1,v 1.2 1997-01-11 19:12:41 ghudson Exp $
2.\"
3.\" Copyright 1996 by the Massachusetts Institute of Technology.
4.\"
5.\" Permission to use, copy, modify, and distribute this
6.\" software and its documentation for any purpose and without
7.\" fee is hereby granted, provided that the above copyright
8.\" notice appear in all copies and that both that copyright
9.\" notice and this permission notice appear in supporting
10.\" documentation, and that the name of M.I.T. not be used in
11.\" advertising or publicity pertaining to distribution of the
12.\" software without specific, written prior permission.
13.\" M.I.T. makes no representations about the suitability of
14.\" this software for any purpose.  It is provided "as is"
15.\" without express or implied warranty.
16.\"
17.TH REP 1 "December 29, 1996"
18.SH NAME
19rep \- repeatedly execute a command
20.SH SYNOPSIS
21.B rep
22[
23.B \-interval
24] command args ...
25.SH DESCRIPTION
26.I Rep
27repeatedly executes a command and prints out the output in the same
28place each time.  (It uses cursor optimization routines to only update
29characters which have changed.)
30.PP
31If the first argument is a hyphen followed by a decimal number, it
32will be treated as the number of seconds between repetitions.  By
33default, the interval is one second.
34.SH EXAMPLES
35.B rep ps -ef
36.PP
37prints out a display of system activity.
38.PP
39.B rep -1 date
40.PP
41puts a digital clock on the screen.
Note: See TracBrowser for help on using the repository browser.