From nobody Sun Jul 31 05:39:33 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LwVSP3yQjz4Y5YF; Sun, 31 Jul 2022 05:39:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LwVSP3PZhz3vKr; Sun, 31 Jul 2022 05:39:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659245973; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vvrYkw3dxgXAE+DEFLXc1H9I3orco1H5NHaSlgP57hQ=; b=C5srM5K9UL2wm/4iS9ELsX73iZ5v6e+h8VCWFnADoz6/59l3ULyJUbIH679HrD7zabdyt0 zCXf/R3lAITzBD6mfI1Fuu2kpJ2kf8qDeEehUN6G/yB3p6Eh4nxW75SimQg+7IWLfff730 2SINTSTl4mjWk9YyuO5rsFwGLRgOxmhpHJa6SET9FgN1a5M5Q25jE6aPYzyffkYH0BHXo6 NJ7+oLCh2zb8NeSIhWFFZXq3mAVKCi5CH0rjW11VDN6Wf4CHWX1n8xXAgpwdFCavAq4wa2 5XNa4LR4aIN5XL0A2uJ4OG0O1QndivtscANJDl8ccA/2QkXI0XyeXyr0hXCheg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LwVSP2D6yzhwW; Sun, 31 Jul 2022 05:39:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26V5dXA8067681; Sun, 31 Jul 2022 05:39:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26V5dXie067680; Sun, 31 Jul 2022 05:39:33 GMT (envelope-from git) Date: Sun, 31 Jul 2022 05:39:33 GMT Message-Id: <202207310539.26V5dXie067680@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Stefan=20E=C3=9Fer?= Subject: git: dc9e68ad0187 - main - calendar: clarify comment syntax in man page List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: se X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dc9e68ad0187bdfe4781256a6c4751e074e1e2a2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659245973; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vvrYkw3dxgXAE+DEFLXc1H9I3orco1H5NHaSlgP57hQ=; b=mi3BXGjEfavfE44xc9SXDiKsXtLco7l3rSLv6ds91iS7aeEYG5gsEvXfZnVNcmbGskQlV5 xrdy4YhqUi6NWDzMnJ3fDgspFOxSz0bKNUflps/Rks/v0z3Lo1ThXJ8F2UZLovdWdf3Zzk 7h5fZRVHYNt5zYr4Tmlg2TJJes+UUAd6QUO/jTxDthRKQJhbvgvwS4b1S0z1lLOCdSMxZw +wZaPXIp1EmWkAZdmdsYwDahm5pgpam7OEWhb3cSil6/3YRn8+GF4cWUrjUmgI0+DSHsvT Qk1IokFdarzgpzyKy77TZj5KHqO3nHBbUAqDRsSrA26oJwUAtLwIGDuMjjCkLQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659245973; a=rsa-sha256; cv=none; b=WLEHT+WFcgmnr+w3VA8EbvjfMGhVErlleNUgEoqNLh36U52yhr/SO2TEiXXOii4sUhv7mK OSSMJCWFVBJKUbipKwFb959QmZMyYo9YMscnBHvrwYRZXvY8sBUZSCZOo7W49vtejt2ApG JVohzWtl7gmZi6s6pCmFuDJ7TBgEIEtRjwU7n9Q+3W3wt2N04YJ1oxhOM5QwaF71AGBV0H Wb3BqV1zuT5rzQl5UYdNVil7huBOm4Y5DZ26WJVXUz6hd1ZV+V6J4BcRbPH5kLPjTsZFTs kBYXc4VlRwvenZyssbqv+ytw4l4VyqBvMbl+Uvqunmdvz81fD+RO5pOk0ktWsQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=dc9e68ad0187bdfe4781256a6c4751e074e1e2a2 commit dc9e68ad0187bdfe4781256a6c4751e074e1e2a2 Author: Stefan Eßer AuthorDate: 2022-07-31 05:37:05 +0000 Commit: Stefan Eßer CommitDate: 2022-07-31 05:37:05 +0000 calendar: clarify comment syntax in man page The single line comment indicator '//' is only detected at the beginning of a line or when following white space to allow URLs in calendar entries. MFC after: 3 days --- usr.bin/calendar/calendar.1 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/usr.bin/calendar/calendar.1 b/usr.bin/calendar/calendar.1 index 1b4972b70f78..63e43055dde4 100644 --- a/usr.bin/calendar/calendar.1 +++ b/usr.bin/calendar/calendar.1 @@ -28,7 +28,7 @@ .\" @(#)calendar.1 8.1 (Berkeley) 6/29/93 .\" $FreeBSD$ .\" -.Dd November 5, 2020 +.Dd July 31, 2022 .Dt CALENDAR 1 .Os .Sh NAME @@ -219,11 +219,13 @@ If the shared file is not referenced by a full pathname, searches in the current (or home) directory first, and then in the directory .Pa /usr/share/calendar . -Empty lines and text protected by the C commenting syntax -.Pq Li /* ... */ +.Pp +Blank lines and text protected by the C comment syntax +.Ql /* ... */ or -.Pq Li // -are ignored. +.Ql // +are ignored, but the latter only at the beginning of a line or after +white space to allow for URLs in calendar entries. .Pp Some possible calendar entries ( characters highlighted by \fB\et\fR sequence):