Thank you QM for your suggestions. They are now, listed for others to consider them...
in reply to Re: Medicine monthly prices by dose calculator
in thread Medicine monthly prices by dose calculator
About passing the input file on the command line, it would be an interesting issue since I would then need to use the <STDIN> diamond to ask for the quantities. If not, it would mess with the previous <> input ...
I wouldn't ever change the medicine's standard units, since they are not part of the script. (They are part of life's script and are only restricted to the doctors that prescribed them: it is not the same to build a house with one mason during 30 days or building it with 30 masons in one day)
It is a one-liner, because I wouldn't bother filing it as another script. But it is useful. I'll consider the -n option, promised!