0

I need to know what does the number 15 mean here and where it comes from. I searched enough for it so I appreciate a little help:

for i in {1..12} ; do mkdir $(LC_TIME=C date +%B -d "${i}/15") done 

Thanks in advance.

2
  • I don't think it has any significance apart from being a day that is guaranteed to occur in any month (you could use any number from 1 up to and including 28) Commented Jun 15, 2019 at 21:32
  • But not 3 to 13. They did not appear in September 1752. Commented Jun 15, 2019 at 22:33

1 Answer 1

1

It is the day.

test@com:~/test$ for i in {1..12} ; do echo $(LC_TIME=C date +%B -d "${i}/29"); done January date: invalid date ‘2/29’ March April May June July August September October November December 
0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.