summaryrefslogtreecommitdiff
path: root/savelog.8
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@debian.org>2009-05-01 14:17:54 -0500
committerClint Adams <schizo@debian.org>2009-05-01 17:56:40 -0400
commitddf64b6f8b0958fbb0fa015c7b66dde0f2095906 (patch)
treec5f60ba0bf3aa5b8fdabb97ad83341ceb9840491 /savelog.8
parent965886b62fddbf98cfced65e923e5d89990bfa08 (diff)
downloaddebianutils-ddf64b6f8b0958fbb0fa015c7b66dde0f2095906.tar.gz
Disambiguate version numbering in manual
There was soe confusion about wherther the hyphen used in the manuual pages implied subatraction. This commit tries to make the actual meaning more explicit. Signed-Off-By: Manoj Srivastava <srivasta@debian.org> Signed-off-by: Manoj Srivastava <srivasta@debian.org>
Diffstat (limited to 'savelog.8')
-rw-r--r--savelog.836
1 files changed, 19 insertions, 17 deletions
diff --git a/savelog.8 b/savelog.8
index 4d8fe65..5a6d8a8 100644
--- a/savelog.8
+++ b/savelog.8
@@ -39,15 +39,19 @@ actions are performed:
.IP 1)
Version numbered files are cycled. Version
-.IR cycle \-2
+.IR "file" "." "2"
is moved to version
-.IR cycle "\-3,"
+.IR "file" "." "3",
version
-.IR cycle \-1
+.IR "file" "." "1"
is moved to version
-.IR cycle "\-2 ,"
-and so on. Finally version 0 is moved to version 1, and version
-.I cycle
+.IR "file" "." "2",
+and so on. Finally version
+.IR "file" "." "0"
+is moved to version
+.IR "file" "." "1",
+and version
+.I "file"
is deleted. Both
compressed names and uncompressed names are cycled, regardless of
.BR \-l .
@@ -55,7 +59,7 @@ Missing version files are ignored.
.IP 2)
The new
-.I file.1
+.IR "file" "." "1"
is compressed unless the
.B \-l
flag was given. It is changed subject to the
@@ -63,8 +67,10 @@ flag was given. It is changed subject to the
flags.
.IP 3)
-The main file is moved to
-.IR file.0 .
+The main
+.IR "file"
+is moved to
+.IR "file" "." "0".
.IP 4)
If the
@@ -78,17 +84,11 @@ before.
.IP 5)
The new
-.I file.0
+.IR "file" "." "0"
is changed subject to the
.BR "\-m" ", " "\-u" ", and " "\-g"
flags.
-Since the version numbers start with 0, version number
-.I cycle
-is never formed. The
-.I cycle
-count must be at least 2.
-
.SH OPTIONS
.TP
.B "\-m mode"
@@ -104,7 +104,9 @@ chgrp log files to group, implies
.B \-t
.TP
.B "\-c cycle"
-Save cycle versions of the logfile (default: 7)
+Save cycle versions of the logfile (default: 7). The
+.I cycle
+count must be at least 2.
.TP
.B \-t
touch new logfile into existence