Mercurial > irccd
view vera/rules/L004.tcl @ 708:0dd4fb9dfcc8
Irccd: disable pid, gid, uid and daemon options, closes #846 @1h
Those options are too platform specific and should be handled by the service
manager instead.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 07 Jul 2018 09:21:10 +0200 |
parents | 6ec510722582 |
children |
line wrap: on
line source
#!/usr/bin/tclsh # Line cannot be too long set maxLength [getParameter "max-line-length" 100] foreach f [getSourceFileNames] { set lineNumber 1 foreach line [getAllLines $f] { if {[string length $line] > $maxLength} { report $f $lineNumber "line is longer than ${maxLength} characters" } incr lineNumber } }