user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Eric Wong <>
Subject: [PATCH 4/6] doc: txt2pre: modernize and use v5.12
Date: Thu,  3 Nov 2022 00:48:36 +0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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 <>
+#!perl -w
+# n.b. this is invoked via $(PERL) in makefiles
+# Copyright (C) all contributors <>
 # License: AGPL-3.0+ <>
 # 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:

  List information:

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

  git send-email \ \ \ \

* 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.
Code repositories for project(s) associated with this public inbox

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).