File: lcf.1

package info (click to toggle)
ucf 3.0016
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 504 kB
  • ctags: 142
  • sloc: sh: 1,431; perl: 396; makefile: 61
file content (85 lines) | stat: -rw-r--r-- 3,051 bytes parent folder | download | duplicates (9)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
.\"                             -*- Mode: Nroff -*- 
.\" lcf.1 --- 
.\" Author           : Manoj Srivastava ( srivasta@green-gryphon.com ) 
.\" Created On       : Fri Feb  1 11:17:32 2002
.\" Created On Node  : glaurung.green-gryphon.com
.\" Last Modified By : Manoj Srivastava
.\" Last Modified On : Mon May  2 01:09:42 2005
.\" Last Machine Used: glaurung.internal.golden-gryphon.com
.\" Update Count     : 28
.\" Status           : Unknown, Use with caution!
.\" HISTORY          : 
.\" Description      : 
.\" 
.\" Copyright (c) 2002 Manoj Srivastava <srivasta@debian.org>
.\"
.\" This is free documentation; 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.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual 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 General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
.\" 02111-1307, USA.
.\"
.\" $Id: lcf.1,v 1.1 2002/02/26 20:12:06 srivasta Exp $
.TH LCF 1 "Feb 1 2002" "Debian" "Debian GNU/Linux manual"
.SH NAME
lcf \- Determine which of the historical versions of a config is installed
.SH SYNOPSIS
.B lcf
.I [options]
.I <Destination File Name>
.I <Historical MD5SUM source directory>
.SH DESCRIPTION
This script, given a destination file name, and a directory containing
md5sums of historical versions of the file, attempts to determine if
the installed version corresponds to a historical version. lcf uses
the same algorithm that ucf uses, and should exhibit the same
behaviour. 
.PP
The source directory is the place where historical md5sums are
expected to live. Specifically, the historical md5sums are looked for
in either the file 
.I ${filename}.md5sum, 
or the subdirectory
.I ${filename}.md5sum.d/
.SH OPTIONS
.TP
.B "-h, --help"
Print a short usage message
.TP
.B "-n, --no-action"
Dry run. Print the actions that would be taken if the script is
invoked, but take no action.
.TP
.B "-d [n], --debug [n]"
Set the debug level to the (optional) level
.I n 
(n defaults to 1). This turns on copious debugging information.
.TP
.B "-v,  --verbose"
Make the script be very verbose about setting internal variables.
.SH FILES
.PP
.I /var/lib/ucf/hashfile,
.I /etc/ucf.conf
.SH "SEE ALSO"
ucf(1)
ucf.conf(5).
.SH BUGS
There are no bugs.  Any resemblance thereof is delirium. Really.
.SH AUTHOR
This manual page was written Manoj Srivastava <srivasta@debian.org>,
for the Debian GNU/Linux system.