Quote:
Originally Posted by
RudiC
A day has 24 hours; you want to assign a certain value to each hour, a linear relationship that could be calculated has been rejected; so I put the desired values as defined by YOU into a 24 element array and have it indexed by the hour (using awk features) for output.
Look e.g. what you requested for 3pm (15h) and see what B[15] is.
brilliant, im like amazing, this is a fantastic shortcut, this work around is just amazing.
thank you, thank you so much