diff options
Diffstat (limited to 'weighin')
-rwxr-xr-x | weighin | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -0,0 +1,20 @@ +#!/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 |