tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Weekday abbreviations in output of cal(1)



Hi,

I am not 100% sure how to do the job with NetBSD's date(1).  I may
be just lucky with

	% date -d '+1 month 1 thu'
	Thu Aug  6 00:00:00 CEST 2020

because today is the 1st of July.  I better recheck this in a fortnight.

Why wait? Try

for i in 1 2 3 4 5 6 7 8 9 10
do
date -d "+$i month 1 thu"
done

Ciao,
Wolfgang
--
Wolfgang%Solfrank.net@localhost				Wolfgang Solfrank


Home | Main Index | Thread Index | Old Index