Re: [rfc-i] looking for a volunteer to write a simple script

Joe Touch <touch@strayalpha.com> Fri, 12 July 2019 17:14 UTC

Return-Path: <rfc-interest-bounces@rfc-editor.org>
X-Original-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Delivered-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D05701203A3 for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Fri, 12 Jul 2019 10:14:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.75
X-Spam-Level:
X-Spam-Status: No, score=-4.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=strayalpha.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zZdcETX3I0KU for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Fri, 12 Jul 2019 10:14:27 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 029531202F0 for <rfc-interest-archive-eekabaiReiB1@ietf.org>; Fri, 12 Jul 2019 10:14:27 -0700 (PDT)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id F2040B8126F; Fri, 12 Jul 2019 10:14:21 -0700 (PDT)
X-Original-To: rfc-interest@rfc-editor.org
Delivered-To: rfc-interest@rfc-editor.org
Received: from localhost (localhost [127.0.0.1]) by rfc-editor.org (Postfix) with ESMTP id A3082B8126F; Fri, 12 Jul 2019 10:14:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Authentication-Results: rfcpa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=strayalpha.com
Received: from rfc-editor.org ([127.0.0.1]) by localhost (rfcpa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G-OpiPwI0Mee; Fri, 12 Jul 2019 10:14:19 -0700 (PDT)
Received: from server217-3.web-hosting.com (server217-3.web-hosting.com [198.54.115.226]) by rfc-editor.org (Postfix) with ESMTPS id 1C338B8126E; Fri, 12 Jul 2019 10:14:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=Message-ID:References:In-Reply-To:Subject:Cc: To:From:Date:Content-Type:MIME-Version:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=LV9i+JbHtRGb6fL9E1hp3IUtlG6ORC0xtl/HtNF2Yy0=; b=JSsbjkMRnL6S07vItYC8vi2Fr +YJc0aFzQGT/m5Pqri7b/icf3YLARDmW+BU2g3Jd1o7pF+EAbTehFWIkXczko4rhFl2BKawR9ZEjF B0BjclmVgNBbQdaaS7M5K3stNtsyfdHkiPub9MSMCZY820nLKaEDAcF6nb3xbcVqis8z9CYFqx3dC rbLuX9lJ3KrRzOlOlEgxp05ZMcuj9/0q0xuNHqiWZawc42f+DIdItyayK0rpydhUW1wZHvFb+DLbv bbYIALck+DsOIAEybkV49B5pjznjLZCx+3TU9lPELs+TF6MIcseOOgw7BUfEH8KAH6suVDZq2MO1v lYdufK/qA==;
Received: from [::1] (port=56264 helo=server217.web-hosting.com) by server217.web-hosting.com with esmtpa (Exim 4.92) (envelope-from <touch@strayalpha.com>) id 1hlz7h-003PF5-Mr; Fri, 12 Jul 2019 13:14:23 -0400
MIME-Version: 1.0
Date: Fri, 12 Jul 2019 10:14:17 -0700
From: Joe Touch <touch@strayalpha.com>
To: Heather Flanagan <rse@rfc-editor.org>
In-Reply-To: <38d0704f-348c-4ec0-9d94-340747960201@Spark>
References: <62c8413d-c735-4ec3-8b22-eb0fa5356636@Spark> <38d0704f-348c-4ec0-9d94-340747960201@Spark>
Message-ID: <744ea9a8f174df0fa1306561fd7e2804@strayalpha.com>
X-Sender: touch@strayalpha.com
User-Agent: Roundcube Webmail/1.3.7
X-OutGoing-Spam-Status: No, score=-1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server217.web-hosting.com
X-AntiAbuse: Original Domain - rfc-editor.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - strayalpha.com
X-Get-Message-Sender-Via: server217.web-hosting.com: authenticated_id: touch@strayalpha.com
X-Authenticated-Sender: server217.web-hosting.com: touch@strayalpha.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Subject: Re: [rfc-i] looking for a volunteer to write a simple script
X-BeenThere: rfc-interest@rfc-editor.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the RFC series and RFC Editor functions." <rfc-interest.rfc-editor.org>
List-Unsubscribe: <https://www.rfc-editor.org/mailman/options/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <http://www.rfc-editor.org/pipermail/rfc-interest/>
List-Post: <mailto:rfc-interest@rfc-editor.org>
List-Help: <mailto:rfc-interest-request@rfc-editor.org?subject=help>
List-Subscribe: <https://www.rfc-editor.org/mailman/listinfo/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=subscribe>
Cc: RFC Interest <rfc-interest@rfc-editor.org>
Content-Type: multipart/mixed; boundary="===============8267969707533038501=="
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

This is fairly simple; the only question is what OS and/or language. 

A simple solution would be to use Perl and run as a command line. 

I can knock this out this evening if you like. It would help to have a
few .xml example files to test (or a web pointer). 

Some quick questions, though: 

- do we need to check for hyphenated variants? 

- do we need/want to check for lower-case uses and issue warnings if
found (to the error output, not in the modified file) 

Joe

On 2019-07-12 09:55, Heather Flanagan wrote:

> Hola a todos! 
> 
> The RFC Editor has the need for a comparatively simple script that would automatically add <bcp14></bcp14> tags to requirement language in v3 RFCs. 
> 
> Specifically, this would take a v3 XML input file, and create a v3 XML output file with <bcp14></bcp14> added around each instance of a 2119 keyword in the file. (MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, NOT RECOMMENDED, MAY, and OPTIONAL) 
> Anyone up for helping us out with that? 
> 
> Thanks! Heather 
> _______________________________________________
> rfc-interest mailing list
> rfc-interest@rfc-editor.org
> https://www.rfc-editor.org/mailman/listinfo/rfc-interest
_______________________________________________
rfc-interest mailing list
rfc-interest@rfc-editor.org
https://www.rfc-editor.org/mailman/listinfo/rfc-interest