X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=appendix-a6.git;a=blobdiff_plain;f=stv;h=3c6160e979f27ffa7f026ed59d20a4b2dabf2710;hp=ebd99ffbb97a60bbe700b42346589eac30777168;hb=4642960b13763e24dcb10ab40cd650e12e1f84fe;hpb=59dc49c75d23c59e0557a86bb1dd4e64c563a5b3 diff --git a/stv b/stv index ebd99ff..3c6160e 100755 --- a/stv +++ b/stv @@ -3,6 +3,19 @@ # Does STV according to # http://www.rosenstiel.co.uk/stvrules/av/index.htm +# Usage: +# ./stv [TIEBREAK ...] PLACES [INPUT-FILES ...] +# +# PLACES is the number of seats to be filled +# +# INPUT-FILES are in the format: +# VOTER PQRST +# where P, Q, R, etc. are candidates. Candidates +# must be single letters. +# +# Each TIEBREAK is +# P,Q,... + use strict; use utf8; use autodie;