ref: e6a585bf14e6d3510e2ad8395c9333fcd7154721
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