components/pylint/manpages/symilar.1
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 29 Aug 2012 11:05:56 -0700
changeset 957 255465c5756f
parent 247 c57f32335aee
child 1023 d2db2bc970c3
child 2424 4dacf13d67f7
permissions -rw-r--r--
Close of build 04.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
247
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     1
'\" te
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     2
.\"
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     3
.\" CDDL HEADER START
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     4
.\"
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     5
.\" The contents of this file are subject to the terms of the
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     6
.\" Common Development and Distribution License (the "License").
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     7
.\" You may not use this file except in compliance with the License.
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     8
.\"
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     9
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    10
.\" or http://www.opensolaris.org/os/licensing.
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    11
.\" See the License for the specific language governing permissions
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    12
.\" and limitations under the License.
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    13
.\"
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    14
.\" When distributing Covered Code, include this CDDL HEADER in each
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    15
.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    16
.\" If applicable, add the following below this CDDL HEADER, with the
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    17
.\" fields enclosed by brackets "[]" replaced with your own identifying
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    18
.\" information: Portions Copyright [yyyy] [name of copyright owner]
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    19
.\"
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    20
.\" CDDL HEADER END
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    21
.\"
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    22
.\"
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    23
.\" Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    24
.\"
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    25
.TH symilar 1 "9 Jun 2009" "SunOS 5.11"
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    26
.SH NAME
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    27
.B symilar
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    28
\- finds copy pasted blocks in a set of files
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    29
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    30
.SH SYNOPSIS
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    31
.B /usr/bin/symilar
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    32
[
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    33
.I OPTIONS
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    34
]  file...
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    35
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    36
.SH DESCRIPTION
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    37
.B symilar
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    38
is a helper script for pylint. Symilar will display information
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    39
about duplicate lines in a file.  The output lists the total number of lines,
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    40
how many duplicate lines found and what percentage of the lines are duplicates.
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    41
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    42
.SH OPTIONS
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    43
.IP "--duplicates, -dl  min_duplicated_line"
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    44
sets a minimum threshhold for duplicated lines
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    45
.IP "--help, -h"
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    46
displays help message 
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    47
.IP "--ignore-comments"
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    48
do not include duplicates found in comment blocks
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    49
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    50
.SH USAGE
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    51
symilar [-d|--duplicates min_duplicated_lines] [--ignore-comments] file..
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    52
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    53
.SH FILES
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    54
/usr/lib/python2.6/vendor-packages/pylint
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    55
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    56
.SH SUPPORT
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    57
[email protected]
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    58
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    59
.SH SEE ALSO
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    60
.IR pylint (1),
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    61
.IR logilab-common (3), 
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    62
.IR logilab-astng (3)