diff options
author | rodri <rgl@antares-labs.eu> | 2022-07-31 17:40:11 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2022-07-31 17:40:11 +0000 |
commit | 2cd49de2132f23e595fec89bfbe41d5b1b5c1c18 (patch) | |
tree | 4205ceb065d35e9d6173097762a313fb041ce8ab /workout | |
parent | 3f2f92a1f48783f10692ae2defaf57585805b704 (diff) | |
download | rcfitness-2cd49de2132f23e595fec89bfbe41d5b1b5c1c18.tar.gz rcfitness-2cd49de2132f23e595fec89bfbe41d5b1b5c1c18.tar.bz2 rcfitness-2cd49de2132f23e595fec89bfbe41d5b1b5c1c18.zip |
added new exercises. sanitize all input. got rid of the default session and included a calisthenics routine instead.
Diffstat (limited to 'workout')
-rwxr-xr-x | workout | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -46,6 +46,7 @@ fn plansession{ echo program your workout session (a to add all, w to begin): printexers | mc e=`{read} + e=`{sanitize $e} if(isnumber $e && test $e -ge 1 && test $e -le $#exercises) session=($session $e) if not if(~ $e a){ @@ -103,6 +104,7 @@ fn start{ while(! ~ $e q){ printsession 1 1 | mc e=`{read} + e=`{sanitize $e} if(isnumber $e && test $e -ge 1 && test $e -le $#session){ lo=`{echo $e-1 | bc} hi=`{echo $e+1 | bc} |