Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2022 01:25:08 +0200
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        "freebsd-arch@freebsd.org" <freebsd-arch@FreeBSD.org>
Subject:   Re: Style(9): Allow // comments
Message-ID:  <202207302325.26UNP8Dl028217@lapr.no.berklix.net>
In-Reply-To: Your message "Thu, 28 Jul 2022 08:03:49 -0700." <202207281503.26SF3nmN007064@gndrsh.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Beware // as a delimeter in calendar files, exaples below.  =

 Nov 5	Fireworks in UK https://en.wikipedia.org/wiki/Guy_Fawkes_Night

I have 248 lines match on
 http://berklix.com/~jhs/src/bsd/fixes/freebsd/src/gen/usr.bin/calendar/
 find . -type f | xargs grep // | grep http | grep -v /no_customise/ | wc =
-l

Most http[s]:// are in commented out blocks, but some are uncommented, eg:

Oct Sun-1	Munich Oktoberfest ends http://www.oktoberfest.de
		/* Not sure if exact algorithm, probably first Sun. in Oct,
		 * but might be  Sunday of 1st full weekend in Oct? =

		 * I've kept a log to later deduce, see
		 *	http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/src/gen/usr.bin/cal=
endar/calendars/de_DE.ISO8859-1/bavaria/munich/calendar.other
		 * Start date is more problematic, being
		 * Saturday with 16 days to end on Sunday.
		 * & Parade as Friday with 17 days before end,
		 * An easter-16 type fuctionality would be nice.
		 */

Cheers,
-- =

Julian Stacey  http://berklix.com/jhs/ http://stolenVotes.uk
Arm Ukraine, Zap killer Putin, grain & fuel loss hits poorest.
http://berklix.eu/ferries/#dover_solution



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207302325.26UNP8Dl028217>