"Max Power" <open...@cpnetserver.net> writes: > Hi,
Hi. Please stop using all-caps mail subjects. > o.s.: OpenBSD 5.3/amd64 > > If I create a directory with the command: mkdir $(date +'%d') You'd better put double quotes around your command substitutions rather than simple quotes around fixed, non-special strings: "$(date '+%d')" > why this is the result: 1, 2, 3, 4, 5, 6, 7, 08, 09, 10, etc. > Why the '0' [zero] appears only ahead the digit 8 and 9..? You must have done something wrong: $ date -j +%d 20137010000 01 $ See strftime(3). -- Jérémie Courrèges-Anglas PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494