File: summarize-range

package info (click to toggle)
freecell-solver 3.26.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,864 kB
  • ctags: 3,658
  • sloc: ansic: 34,721; perl: 12,320; xml: 5,999; python: 1,149; sh: 965; ruby: 347; cpp: 304; makefile: 151
file content (12 lines) | stat: -rw-r--r-- 396 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

# This script aims to be a template for further scripts for summarizing a
# range of deals in a table.

for I in `seq 1 8` ; do
    # printf "%-6s| %-25s | %-30s\n" \
    printf "%s\t%s\t%s\n" \
        "$I" \
        "$(pi-make-microsoft-freecell-board -t "$I" | summarize-fc-solve)" \
        "$(pi-make-microsoft-freecell-board -t "$I" | summarize-fc-solve --method a-star)"
done