Hi,
whist using "date" in a bash script there seems to be a problem returning the hour for 09:20

t_hr=$(date +%l) (small L) does not return "9" from 09:20 or any time between 09:00 and 09:30

t_hr=$(date +%-I) works fine

I needed the hour with out the padded zero

best regards

David


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to