ref: 2cd49de2132f23e595fec89bfbe41d5b1b5c1c18
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