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

SubmittedTitle on HNPointsComments
Nov 17, 2021Sed challenge: join cal -y months into a single column by jolmg11066

Related posts from the same era