From nobody Mon May 15 06:24:09 2023 X-Original-To: dev-commits-src-main@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 4QKTpy1Jthz4BCkx; Mon, 15 May 2023 06:24:10 +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 4QKTpy0h1lz3L3c; Mon, 15 May 2023 06:24:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684131850; 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=GBsGa63BeW227TZj4q5c/h+xI7Y+6qSLVEDVFo1sGUM=; b=UW4FJNhyh/P0QCts/BvkQz6DYZSMZBoz1zh1jbzIj1R8DzXj1zbw/0H/jc/U0g8XwhgL1s 6SAxtTv862VeUYZaIy5zlFPj+YmdU+mWOZP15KXwwD9fkN4PuSN94mDCjZYXm2+0vXf2Vr eN7sNM/7uCyRDCec3W4+SKp4t9m0tiY0y/TaCbB+CvwLusV60evvWEP8mVNeAqPo9GOV39 TTeeymvcdIhahzf6m3BI+62rtg88QTXf6qZyEV6iurqfRd78pyrQuGv/726a3sr6hV23gJ NARHu+BTJ/SBsBJIcEtm8pODvo6/d3PZG7us5pYq17JB5P2cChVLPhuO8BIYKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684131850; 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=GBsGa63BeW227TZj4q5c/h+xI7Y+6qSLVEDVFo1sGUM=; b=nQ9y2rhvNUym2d9tgPpO/UZvAOPntqU9mTYYqmi5Co07iye8KQCWhGFcQWWM7ypjPkWmNa 06fqwfad5yGgMQnpHj9uKlbzFjMM57jy56RrmTO7jH8Jnh9Ie1ziiWDM+4vGNZaRgP9F/e T8em/qMNzCKzsHZbDzhD+mi7qtchV5TNsjtp1NmUKa+u56B7U/XUonsFoOd92CCiLIvrZy E+drgdr08Y+JHOulSnEftTdYsM+nz4n0Wc6VYkuKYv1By7fnfT5b0g9ypldrBMmLQhRn9D e0SuscfbwbKvKXJvdJsICLrJ2Z7ylMZ8mFAYutM+6aG+C2b4Qmxb9Hn7Rf26Fw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684131850; a=rsa-sha256; cv=none; b=jmioRFp8AKb6wWjelbbZcv7Wck8k8hZESKvHjdLllLp6apqvnZV2edYUieqVa1u6abLdCP aYojGIU7LyU0PrOUfwk2e4tDI7gHtvO6qf7+UX+zuWmdrI7cTmlJ09YS8TD37pGJ3aFRtQ mk0bP1uiUsSw84SfWew+tNAc4oAmg3OidkwTZZdn31j8YCh2bGdgfk7EIvPvKFXz3k2kOX vIpnRYEous07kBoWkvI8AArUdgKS9mgh49xYOX6jnGHJEiEznPEHDC3oqUr9GVVObvfEHH DYDpzLnXBxeunvJjxP/dx/flG2Lxw8mpqKQG2mwh+bvdSEUhnOk0yZF+plQJQg== 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 4QKTpx6sPdzVQc; Mon, 15 May 2023 06:24:09 +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 34F6O97L052232; Mon, 15 May 2023 06:24:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34F6O9bV052231; Mon, 15 May 2023 06:24:09 GMT (envelope-from git) Date: Mon, 15 May 2023 06:24:09 GMT Message-Id: <202305150624.34F6O9bV052231@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Wolfram Schneider Subject: git: 1cf4473fa36d - main - remove stale script epfe.pl List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wosch X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1cf4473fa36dd9252f2258e86adf85eb94694b9c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wosch: URL: https://cgit.FreeBSD.org/src/commit/?id=1cf4473fa36dd9252f2258e86adf85eb94694b9c commit 1cf4473fa36dd9252f2258e86adf85eb94694b9c Author: Wolfram Schneider AuthorDate: 2023-05-15 06:22:41 +0000 Commit: Wolfram Schneider CommitDate: 2023-05-15 06:22:41 +0000 remove stale script epfe.pl tools/tools/epfe/epfe.pl was a perl script that formerly generated some printing example files from content in a very old version of the handbook. Reported by: wblock --- tools/tools/README | 1 - tools/tools/epfe/epfe.pl | 38 -------------------------------------- 2 files changed, 39 deletions(-) diff --git a/tools/tools/README b/tools/tools/README index 084c9fe65be9..6d2be5e7ae6b 100644 --- a/tools/tools/README +++ b/tools/tools/README @@ -18,7 +18,6 @@ cxgbetool A tool for the cxgbe(4) driver. cxgbtool A tool for the cxgb(4) driver. drm Tools specific to the DRM/KMS device drivers. editing Editor modes and the like to help editing FreeBSD code. -epfe Extract printing filter examples from printing.sgml. ether_reflect An Ethernet packet reflector for low level testing. find-sb Scan a disk for possible filesystem superblocks. gdb_regofs A simple tool that prints out a register offset table diff --git a/tools/tools/epfe/epfe.pl b/tools/tools/epfe/epfe.pl deleted file mode 100644 index 0aea2c247a64..000000000000 --- a/tools/tools/epfe/epfe.pl +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/perl -# Copyright (c) 1996 Wolfram Schneider . Berlin. -# -# epfe - extract printing filter examples from printing.sgml -# -# usage: -# $ cd /usr/share/examples/printing -# $ epfe < ../../doc/handbook/printing.sgml -# -# $FreeBSD$ - -$in = 0; @a = (); -sub Print { s/\&\;/&/g; push(@a,$_); } -sub out { - local($name, *lines) = @_; - open(F, "> $name") || die "open $_[0]: $!\n"; - print F @lines; - close F; -} - -while(<>) { - if (/^/) { - $in = 1; - } elsif (m%% && $in > 0) { - if ($in > 1) { - $name = 'unknown' if !$name; - while(1) { if ($d{$name}) { $name .= 'X'; } else { last } } - &out("$name", *a); - $d{$name} = $name; - } - $in = 0; $name = ''; @a = (); - } elsif ($in == 1 && /^\#\s*!/) { - $in++; &Print; - } elsif ($in > 1) { - $name = $1 if (!$name && /^\#\s+(\S+)\s+-\s+/); - $in++; &Print; - } -}