Creating a shell script that prints out a month calendar with a highlighted day for each date found in a text file.
Check out the code here:
github.com/Not...
Join CYBORG_ for higher-level exploration of tech and humanity:
cyborg.notdefi...
NOTE:
This is a good script for beginners, but it's not a perfect program-yet. Feel free to take this and make adjustments for your own use cases. Here are some of the shortcomings:
Does not highlight more than one day per month (multiple days in the same month result in multiple calendars of the same month)
Does not accept all possible years-we solve for stripping out dates from the file that aren't in the current year, but this could be modified to accommodate multiple years
_______________
Do more with what you have.
WHO AM I?
👨🏻💻 My name is Jess, I'm a designer turned web developer with a disability: Multiple Sclerosis. Technology helped save my career and my livelihood, so I want to pass along the knowledge.
LET'S CONNECT
📅 Book a one-on-one call with me - calendly.com/n...
✍️ Join CYBORG_ newsletter - cyborg.notdefi...
📸 Instagram - / notdefinedtech
😺 GitHub - github.com/Not...
FAVORITE HOSTING PLATFORM
🌊 DigitalOcean-Support the channel AND get $100 credit for 60 days with this referral link: m.do.co/c/5d49...
Негізгі бет Terminal Calendar from File | shell script
Пікірлер: 6