Red Hat Bugzilla – Bug 58977
data +%k returns leading space for values 0-9
Last modified: 2007-04-18 12:39:17 EDT
Description of Problem:
data +%k returns leading space for hours 0-9
i.e date +%M%k for k=0-9 should return '029'
it returns '02 9'
When used in file creation base on timestamp it fails since introduces unquoted
blank space in file name
Version-Release number of selected component (if applicable):
Steps to Reproduce:
+%k is supposed to do just that. You probably want to use +%H instead.