From 7475a1f6fa0dde13e2be90b893fe4455acca98d9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 21 Aug 2016 12:03:19 +0100 Subject: [PATCH] stv: Document input format --- stv | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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; -- 2.30.2