diff options
author | rodri <rgl@antares-labs.eu> | 2021-06-30 19:30:06 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2021-06-30 19:30:06 +0000 |
commit | 3f2f92a1f48783f10692ae2defaf57585805b704 (patch) | |
tree | 59bd4e6e021ac032047b6e0ad37b813b6f5ce3ba /age | |
parent | 3d91cb5bef0305ac05d3a172aecb0d60a5a2c500 (diff) | |
download | rcfitness-3f2f92a1f48783f10692ae2defaf57585805b704.tar.gz rcfitness-3f2f92a1f48783f10692ae2defaf57585805b704.tar.bz2 rcfitness-3f2f92a1f48783f10692ae2defaf57585805b704.zip |
workout: ignore shell-style comments from input when adding reps per exercise.
default.session: updated program.
exercises: some corrections and new stuff.
added new scripts to register age, height, Δweight/dt, BSA and SBSI (the latter too technical to be useful for me but were fun rc practice.)
Diffstat (limited to 'age')
-rwxr-xr-x | age | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#!/bin/rc +rfork ne +bday=862048830 # % date -j -f "%b %d %Y" "Apr 26 1997" +%s +today=`{date -n} + +bc <<EOF +($today - $bday)/(3600*24*365) +EOF |