mirror of
https://github.com/schoebel/mars
synced 2024-12-20 05:40:52 +00:00
19 lines
625 B
Bash
Executable File
19 lines
625 B
Bash
Executable File
#!/bin/bash
|
|
|
|
football_dir="${football_dir:-../football}"
|
|
|
|
function make_latex_include
|
|
{
|
|
local cmd="$1"
|
|
|
|
echo '\begin{verbatim}'
|
|
eval "$cmd" | sed 's/\\/\\\\/g'
|
|
echo '\end{verbatim}'
|
|
}
|
|
|
|
make_latex_include "../userspace/marsadm --help" > marsadm.help
|
|
make_latex_include "(cd $football_dir/ && ./football.sh --help)" > football.help
|
|
make_latex_include "(cd $football_dir/ && ./football.sh --help --verbose)" > football-verbose.help
|
|
make_latex_include "(cd $football_dir/ && ./screener.sh --help)" > screener.help
|
|
make_latex_include "(cd $football_dir/ && ./screener.sh --help --verbose)" > screener-verbose.help
|