Forgive my fault and my English! What I want to know is why [technically] the scipt: mkdir $(date +'%d'), whith the default system date, with no manual insertion, return this sequence of digits: 1, 2, 3, 4, 5, 6, 7, 08, 09, 10, etc. Why the '0' [zero] appears only after the digit 7?
I hope I explained myself. Thanks for the explanation and for your patience, Max Power. > On Jul 12 23:34:27, open...@cpnetserver.net wrote: >> > You must have done something wrong: >> I have not done anything. The system is the default installation. >> >> > You'd better put double quotes around your command substitutions >> rather >> > than simple quotes around fixed, non-special strings: "$(date '+%d')" >> Ok, but why the command: mkdir $(date +'%d') after the digit 7 works >> fine? > > Come back on the first of August, > with a script(1) in your hand.