unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
From: Eric Wong <e@80x24.org>
To: meta@public-inbox.org
Subject: [PATCH 4/6] doc: txt2pre: modernize and use v5.12
Date: Thu,  3 Nov 2022 00:48:36 +0000	[thread overview]
Message-ID: <20221103004838.26331-5-e@80x24.org> (raw)
In-Reply-To: <20221103004838.26331-1-e@80x24.org>

Another teeny step towards v5.12.
---
 Documentation/txt2pre | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/txt2pre b/Documentation/txt2pre
index 82573a30..b9d74fb7 100755
--- a/Documentation/txt2pre
+++ b/Documentation/txt2pre
@@ -1,12 +1,12 @@
-#!/usr/bin/env perl
-# Copyright (C) 2014-2021 all contributors <meta@public-inbox.org>
+#!perl -w
+# n.b. this is invoked via $(PERL) in makefiles
+# Copyright (C) all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 #
 # Stupid script to make HTML from preformatted, utf-8 text versions,
 # only generating links for http(s).  Markdown does too much
 # and requires indentation to output preformatted text.
-use strict;
-use warnings;
+use v5.12;
 use PublicInbox::Linkify;
 use PublicInbox::Hval qw(ascii_html);
 my (%xurls, %lei);

  parent reply	other threads:[~2022-11-03  0:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-03  0:48 [PATCH 0/6] doc: linkify HTML harder Eric Wong
2022-11-03  0:48 ` [PATCH 1/6] doc: txt2pre: linkify new commands Eric Wong
2022-11-03  0:48 ` [PATCH 2/6] doc: lei: improve description of *-search commands Eric Wong
2022-11-03  0:48 ` [PATCH 3/6] doc: txt2pre: linkify "lei COMMAND" form Eric Wong
2022-11-03  0:48 ` Eric Wong [this message]
2022-11-03  0:48 ` [PATCH 5/6] doc: lei-import: link to lei-store-format(5) Eric Wong
2022-11-03  2:03   ` Eric Wong
2022-11-03  0:48 ` [PATCH 6/6] txt2pre: linkify lei/store => lei-store-format.html Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221103004838.26331-5-e@80x24.org \
    --to=e@80x24.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).