components/pylint/manpages/symilar.1
author John Beck <John.Beck@Oracle.COM>
Sat, 10 Jan 2015 08:18:26 -0800
branchs11-update
changeset 3791 1504f7bde5fd
parent 2424 4dacf13d67f7
permissions -rw-r--r--
20334734 several Python 3.4 tests trigger core dumps on sparc
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
.\"
2424
4dacf13d67f7 15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents: 247
diff changeset
    23
.\" Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
247
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    24
.\"
2424
4dacf13d67f7 15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents: 247
diff changeset
    25
.TH symilar 1 "17 Jul 2012" "SunOS 5.11"
247
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
2424
4dacf13d67f7 15712303 SUNBT7040357 update pylint to 0.25.2
April Chin <april.chin@oracle.com>
parents: 247
diff changeset
    55
/usr/lib/python2.7/vendor-packages/pylint
247
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    56
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    57
.SH SUPPORT
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    58
[email protected]
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    59
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    60
.SH SEE ALSO
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    61
.IR pylint (1),
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    62
.IR logilab-common (3), 
c57f32335aee 7043992 move pylint from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    63
.IR logilab-astng (3)