JoL Blog personal blog
Sed challenge: join cal -y months into a single column
This is a little sed challenge that ocurred to me somewhat recently, when I wondered how many weeks were between 2 dates. Of course, I just looked at the calendar and counted, but then I wondered what kind of sed script I’d need in the middle of a cal -y | ... | wc -l pipeline to get the same answer.
- Points
- 110
- HN comments
- 66
- Submissions
- 1
- Cited by
- 0 commenters
Tools & ProductivitySoftware Engineering2021
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Nov 17, 2021 | Sed challenge: join cal -y months into a single column by jolmg | 110 | 66 |