Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ard-parse-boards(1) [debian man page]

ARD-PARSE-BOARDS(1)					      General Commands Manual					       ARD-PARSE-BOARDS(1)

NAME
ard-parse-boards - Read data from the Arduino boards.txt file USAGE
Dump all the data in the file: $ ard-parse-boards --dump See which boards we know about: $ ard-parse-boards --boards Look for a particular board... $ ard-parse-boards --find uno multiple terms are implicitly ANDed: $ ard-parse-boards --find duemil 328 Dump all the data for a particular board: $ ard-parse-boards atmega328 Extract a particular field: $ ard-parse-boards atmega328 build.f_cpu DESCRIPTION
The Arduino software package ships with a boards.txt file which tells the Arduino IDE details about particular hardware. So when the user says he's got a shiny new Arduino Uno, boards.txt knows that it has a 16MHz ATmega328 on it. It would be nice to access these data from the command line too. In normal operation you simply specify the tag given to the board in the boards.txt file, and optionally a field name. This program then extracts the data to STDOUT. Most boards have names which are quite unwieldy, so we always refer to a board by a tag, not its name. Strictly the tag is the bit before the first dot in the boards.txt key. You can see a list of board tags and names with the "--boards" option. OPTIONS
--boards_txt=[file] Specify the full path to the boards.txt file. The following options all disable the normal 'lookup' operation. --dump Dump the complete database in YAML format. --boards Print a list of the tag and name of every board in the file. --find [query] <query> ... Find matching data. Strictly, return a list of values which match all of the query terms, treating each term as a case-insensitive regexp. For example: --find 328 List data containing 328 (anywhere in the value). --find due List data containing 'due' (e.g. duemilanove). --find 328 due List data containing both 328 and due. BUGS AND LIMITATIONS
There are no known bugs in this application. Please report problems to the author. Patches are welcome. AUTHOR
Martin Oldfield, ex-atelier@mjo.tc Thanks to Mark Sproul who suggested doing something like this to me ages ago. LICENSE AND COPYRIGHT
Copyright (c) 2011, Martin Oldfield. All rights reserved. This file is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. MAY 2012 ARD-PARSE-BOARDS(1)

Check Out this Related Man Page

SALLIERE(1)						      General Commands Manual						       SALLIERE(1)

NAME
salliere -- Duplicate Bridge Scorer SYNOPSIS
salliere [options] -- [commands] [boards.csv] [names.csv] DESCRIPTION
This manual page documents briefly the salliere command. salliere scores, matchpoints and nicely formats the boards for a duplicate pairs evening. The command line is a list of commands followed by two comma-separated files on which to operate. The boards file must contain lines with at least board number, NS pair number, EW pair number, Contract, Declarer and either tricks or the contract must include whether it made (=) went down (-tricks) or made over tricks (+tricks). The names file must list at least pair number followed by two comma separated names. The commands will add tricks, scores and matchpoint columns to the boards file and total matchpoints, percentages and local/orange points to the names file as appropriate. By default the commands which print results will do so as ascii to stdout. This can be changed with the --output=format:file option. For- mats are either pdf, html or txt and file is the path to a file or - for stdout. The commands which format the output require the extra fields to be added either by hand or with the appropriate commands so they can be printed. COMMANDS
Here are a list of the available commands and what they do: verify Checks all the boards look sane; can be used with the --setsize option to check the movement score Calculates tricks and score for each contract matchpoint Calculates match points for each hand ximp Calculates cross-imps for each hand parimp Calculates imps vs par for each hand total Calculates the total match points for each pair handicap Calculates the result after applying handicaps for each player localpoint Calculates local or orange points for each pair results Prints all the pairs in order with their total match points, percentages and local/orange points as appropriate matrix Prints a matrix of match points gained on each board by each pair boards Prints out each board with pairs, contract, results and match points ecats-upload Upload results to ecats bridge website scoreteams Prints out the results of the boards as a team of 4 or team of 8 match OPTIONS
Here are a list of the available options and what they do: --help Prints the help text --setsize=N Check the movement based on sets of size N. Also used when printing the matrix to batch the results --orange Prints "OP" rather than "LP" --ximp Adjusts output for IMPs rather than matchpoints --title=title Changes the title on the output --output=format:file Changes the output format and file. Possible formats are pdf, html, htmlfrag, csv or txt. A file of '-' corresponds to stdout. --with-par Prints the par result along with the boards --trickdata=file The tricks which can be made on each board for calculating par --handcapdata Current handicaps for individuals --with-handicaps Prints the handicaps with each pair --handcap-normalizer When handicapping, center around this number as par --teamsize=N Number of players in a team (4 or 8) for overall team scoring --teamprefix=prefix The prefix on each pair number to identify which team they are on (eg CU if the pairs are named CU1, CU2, ...) --ecats-options=key:value,key2:value2,... Options used to send scores to ecats. ECATS OPTIONS
Here are a list of the available options to ecats and what they do. clubName name of club (required) session ECATS session number (required) phone contact phone number (required) country club country (required) name contact name fax contact fax number email contact email town club town county club county date event date event event name AUTHOR
This manual page was written by Matthew Johnson <debian@matthew.ath.cx>. Permission is granted to copy, distribute and/or modify this docu- ment under the terms of the GNU General Public License, Version 2 as published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. SALLIERE(1)
Man Page