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): sh-utils-2.0.11-9 How Reproducible: Steps to Reproduce: 1. 2. 3. Actual Results: Expected Results: Additional Information:
+%k is supposed to do just that. You probably want to use +%H instead.