Hi
We are currently obaining the day of the year with
date +'%j'
so that it will return 016 for today (16/1/2003). How cam we return the number without any leading zeros (ie 16 for today). I know this is probably very easy but I don't know UNIX scripting very well and I am trying to fix existing code.
Thanks
Chris
We are currently obaining the day of the year with
date +'%j'
so that it will return 016 for today (16/1/2003). How cam we return the number without any leading zeros (ie 16 for today). I know this is probably very easy but I don't know UNIX scripting very well and I am trying to fix existing code.
Thanks
Chris