Created
April 25, 2016 21:00
-
-
Save ryanmaclean/493681e5e7e076240ab44c2f931cd092 to your computer and use it in GitHub Desktop.
Display 6 Month Calendar in Bash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| cal -A 3 -B 2 | |
| # Result | |
| # February 2016 March 2016 April 2016 | |
| #Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa | |
| # 1 2 3 4 5 6 1 2 3 4 5 1 2 | |
| # 7 8 9 10 11 12 13 6 7 8 9 10 11 12 3 4 5 6 7 8 9 | |
| #14 15 16 17 18 19 20 13 14 15 16 17 18 19 10 11 12 13 14 15 16 | |
| #21 22 23 24 25 26 27 20 21 22 23 24 25 26 17 18 19 20 21 22 23 | |
| #28 29 27 28 29 30 31 24 25 26 27 28 29 30 | |
| # | |
| # | |
| # May 2016 June 2016 July 2016 | |
| #Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa | |
| # 1 2 3 4 5 6 7 1 2 3 4 1 2 | |
| # 8 9 10 11 12 13 14 5 6 7 8 9 10 11 3 4 5 6 7 8 9 | |
| #15 16 17 18 19 20 21 12 13 14 15 16 17 18 10 11 12 13 14 15 16 | |
| #22 23 24 25 26 27 28 19 20 21 22 23 24 25 17 18 19 20 21 22 23 | |
| #29 30 31 26 27 28 29 30 24 25 26 27 28 29 30 | |
| # 31 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment