ref: e4e53a6530a5be4c393c2146c83f3a7f01fce93f
dir: /weighin/
#!/bin/rc
rfork ne
today=`{date -i | awk -F'-' '{print $2"/"$3}'}
w=()
flagfmt=''
args='weight'
fn usage {
aux/usage
exit usage
}
if(! ifs=() eval `{aux/getflags $*} || ! ~ $#* 1)
usage
w=$1
cat <<EOF >>weight
$today $w
EOF