Skip to content

Commit 90fbfb7

Browse files
authored
Update 05-counting-mining.md with man date solution
Closes #131 by adding `man date` to the solution for discovering the `+` option to the `date` command. Recreates PRs #216 and #221. Note that MacOS X is now just macOS since the version number has moved on from 10 (X) to 13+.
1 parent 1d8b2e6 commit 90fbfb7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

episodes/05-counting-mining.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -608,10 +608,10 @@ Notice how we didn't type today's date ourselves, but let the
608608

609609
## Solution
610610

611-
Using `date --help` will show you that the `+` option introduces
612-
a date format, where `%Y`, `%m` and `%d` are replaced by the year,
613-
month, and day respectively. There are many other percent-codes
614-
you could use.
611+
Using `date --help` (on Git Bash for Windows or Linux) or `man date` (on macOS or Linux)
612+
will show you that the `+` option introduces a date format,
613+
where `%Y`, `%m` and `%d` are replaced by the year, month, and day respectively.
614+
There are many other percent-codes you could use.
615615

616616
You might also see that `-I` is short for
617617
[\--iso-8601](https://en.wikipedia.org/wiki/ISO_8601), which

0 commit comments

Comments
 (0)