biorhythm
biorhythm
[−l n] [−q] [−b
mm/dd/CCyy] [−n] [−d mm/dd/CCyy]
biorhythm [mm/dd/CCyy] [−l n]
[−q]
biorhythm [−h] [−v]
Note: CC will be assumed to be 19 if missing.
Plots biorhythms beginning on a specified date using the date of birth provided.
While I´m unaware of actual high end limits for the year I´m limiting the year to 4 digits.
In the unlikely event that human beings make it to 10,000 A.D. I doubt anyone will be too upset that they can´t enter the year. If you are concerned with your biorhythmic cycle in 10,000 A.D. you are probably being rather optimistic.
-b |
Use mm/dd/CCyy as date of birth. | ||
-d |
Use mm/dd/CCyy as starting date. | ||
-l |
Use n lines. The default number of lines is 20. | ||
-h |
Displays help. | ||
-n |
Uses today´s date as the starting date for the chart. | ||
-q |
Quit after 1 page. | ||
-v |
Displays version information. |
mm/dd/CCyy as the first argument is assumed to be the date of birth with today as the starting date for the chart.
Currently
doesn´t check to see if dates are valid.
Doesn´t verify size of terminal, or if run from
terminal.
Uses too many global variables with poor names.
Assumes ´cls´ exists or it is dealing with a
terminal that accepts ANSI escape sequences.
DOS and CMD use ´cls´ to clear the screen. You can redirect stderr or create a command ´cls´ in your path that calls ´clear´ or another command to clear the screen.
Michael J. Chappell
0.4 Updated on July 4, 2015