X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;ds=sidebyside;f=stv;h=3c6160e979f27ffa7f026ed59d20a4b2dabf2710;hb=2251d06cbf7d16682040782d415c371a43fdf275;hp=ebd99ffbb97a60bbe700b42346589eac30777168;hpb=59dc49c75d23c59e0557a86bb1dd4e64c563a5b3;p=appendix-a6.git 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;