2011-10-02から1日間の記事一覧

build.sh wrapper script

まあ、みんな同じようなの作ってるよね。 #!/bin/sh progname=$0 usage() { echo "Usage: ${progname} <machine> <date> <operation>" exit 1 } if [ x"$1" = x ]; then usage fi target_machine=$1 shift if [ x"$1" = x ]; then usage fi build_date=$1 shift if [ x"$1" = x ]; then</operation></date></machine>…