usr/src/cmd/pylint/symilar.1.sunman
author Cyril Plisko <cyril.plisko@grigale.com>
Tue, 06 Apr 2010 16:00:14 +0300
changeset 11 87960ed158f9
parent 0 b34509ac961f
permissions -rw-r--r--
Import sfw build 137 Bugs Fixed ---------- 6926835 Wireshark cannot open files typed into the location bar 6930214 CVE-2010-0624: Heap-based buffer overflow in GNU Tar 6933424 Various sfw manual pages need to be adjusted to use the new OpenSolaris package names. 6937764 upgrade OpenSSL to 0.9.8n (and fix CVE-2010-0740)

'\" te
.\"
.\" Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
.\" Use is subject to license terms.
.\"
.\" ident	"@(#)symilar.1.sunman	1.2	10/03/16 SMI"
.\"
.TH symilar 1 "9 Jun 2009"
.SH NAME
.B symilar
\- finds copy pasted blocks in a set of files

.SH SYNOPSIS
.B /usr/bin/symilar
[
.I OPTIONS
]  file...

.SH DESCRIPTION
.B symilar
is a helper script for pylint. Symilar will display information
about duplicate lines in a file.  The output lists the total number of lines,
how many duplicate lines found and what percentage of the lines are duplicates.

.SH OPTIONS
.IP "--duplicates, -dl  min_duplicated_line"
sets a minimum threshhold for duplicated lines
.IP "--help, -h"
displays help message 
.IP "--ignore-comments"
do not include duplicates found in comment blocks

.SH USAGE
symilar [-d|--duplicates min_duplicated_lines] [--ignore-comments] file..

.SH FILES
/usr/lib/python2.6/vendor-packages/pylint

.SH SUPPORT
[email protected]

.SH SEE ALSO
.IR pylint (1),
.IR logilab-common (3), 
.IR logilab-astng (1)

.SH ATTRIBUTES
See
.BR attributes (5)
for descriptions of the following attributes:
.sp
.TS
box;
cbp-1 | cbp-1
l | l .
ATTRIBUTE TYPE	ATTRIBUTE VALUE
=
Availability	developer/python/pylint
=
Interface Stability	Uncommitted
.TE
.SH NOTES
Documentation for pylint is available at http://www.logilab.org/project/pylint

Source for pylint is available on http://opensolaris.org.