diff options
author | rodri <rgl@antares-labs.eu> | 2021-02-06 12:27:11 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2021-02-06 12:27:11 +0000 |
commit | 3d91cb5bef0305ac05d3a172aecb0d60a5a2c500 (patch) | |
tree | f32de32da34a881cbeb19279f18a1e34389244b6 /weighin | |
parent | 800267bfade7f03104e5839cf27be47ca2a7d966 (diff) | |
download | rcfitness-3d91cb5bef0305ac05d3a172aecb0d60a5a2c500.tar.gz rcfitness-3d91cb5bef0305ac05d3a172aecb0d60a5a2c500.tar.bz2 rcfitness-3d91cb5bef0305ac05d3a172aecb0d60a5a2c500.zip |
add more exercises, the default session file and better explanations.
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 |