From nobody Mon May 15 06:34:30 2023 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 4QKV2v3LLCz4BDrJ; Mon, 15 May 2023 06:34:31 +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 4QKV2v14h3z3LWv; Mon, 15 May 2023 06:34:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684132471; 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=2UUbrvDzb7dsn7dT1HUal9oM1U/c7ShFuZ+8JOjtf2Q=; b=gHFwPAqB5ptdJ+pi3Ut1rlb2TkkyfuezaBGPX5Tog9vY/6yCOgP5+9CvpkCwkpj4dSVFiX zTgLtIvlNnOcNXo9qqs5JhF5tI7aLWDvQAfExCdzdITN6yUw7VLK+nM/PFiA1u0ffzOgXH C0ilzMcCovmr745BegoFUqIDt0I60EdJIisXbWIq2CYG3qThat2/HfKuJjaMqqtuLNzZzy vzGErsd/No9d79sSoGR4WowNCF0cXOH0+VOL7mbz5af5Ov4LJcwn8G/d0XuHJSnoBmKfhL KtihIJFW6NF3s3z8/PcDHEOgLgM73O0ralX+wt+Z9OYzeQhpFebT7WU/DxDDVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684132471; 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=2UUbrvDzb7dsn7dT1HUal9oM1U/c7ShFuZ+8JOjtf2Q=; b=G3L+wXnUwu+AYU6zZ++dOMFcHAXa1eN2RD0FNVvUhNf61J+L2HlREtKhd7nvPDoWaKOGc8 mr9LWIzFno1V7xRKSUea41/QDfiwGnqy8oIgkxCNSfqqwb7wEjUWFO79+GudfA4LMXN1UJ ghEwQ53dWaJI6IIw8aFRxTpvR2u/KePehzpZZUm534lZN8iS+nO0hxz+pSWPO06unYm/SY sSlbe8eDmxIc/wGdE1+HnIrWnFG4gyGFdFe9gFSerLnqM1kkx4/TAgVASSYy33CfF5SfDn NH37QKQV9wOzqcJ6MeOVdu+Y/D3P1dEMgo9aeljEeqVJmQ35drGLGDRQf9bEbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684132471; a=rsa-sha256; cv=none; b=bC29ooTCRp6t3cEPVYiNrcXVjWU7/ceI5IPRTsqrN7hZWMWFqfCe/nBVspNUL8P/POjScH aQPxm8TCvEHZ6Kb59XIgElpcv127niIDLsFIKUYQ1cd45FT8jaa77bX28VN/oxfSVlZQs3 JMDjqBbkNh0BIxNFMz+ARTzUrDUy9XUDBvIcZ8mLfOiOhixCAj2wbbl6Dc10ngoIyKKZ9I iJ5uVHNvoqrung+3IoivZXo5vz4AyrVGdSk6/uGdfOl3H1lzqPtGfRdCgAp48y+TfEJV0A IJyA5i71ea9DLqDR6C5E4Rx/fL+77iP3wZjqyV73aoed4gebW5oSnTMn43yGNg== 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 4QKV2v071PzVwR; Mon, 15 May 2023 06:34:31 +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 34F6YU6Z068911; Mon, 15 May 2023 06:34:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34F6YU4m068910; Mon, 15 May 2023 06:34:30 GMT (envelope-from git) Date: Mon, 15 May 2023 06:34:30 GMT Message-Id: <202305150634.34F6YU4m068910@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: 1206aa278642 - main - remove stale handbook scripts 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: wosch X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1206aa278642ec72e974f3d1dfa8f7b374281b83 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wosch: URL: https://cgit.FreeBSD.org/src/commit/?id=1206aa278642ec72e974f3d1dfa8f7b374281b83 commit 1206aa278642ec72e974f3d1dfa8f7b374281b83 Author: Wolfram Schneider AuthorDate: 2023-05-15 06:30:34 +0000 Commit: Wolfram Schneider CommitDate: 2023-05-15 06:30:34 +0000 remove stale handbook scripts --- tools/tools/README | 1 - tools/tools/html-mv/html-mv | 59 --------------------------------------------- 2 files changed, 60 deletions(-) diff --git a/tools/tools/README b/tools/tools/README index cb5235ff0308..0da3d6d4a67b 100644 --- a/tools/tools/README +++ b/tools/tools/README @@ -28,7 +28,6 @@ genericize Turn a kernel config into something that can more easily be diffed against the appropriate GENERIC. git Tools to simplify the use of git by committers. hcomp Compress header files by removing comments and whitespace. -html-mv Rename HTML generated filenames to human readable filenames. ifinfo Uses the interface MIB to print out all the information an interface exports in an ugly form. indent_wrapper Tool for style(9) checking SVN/GIT patches. diff --git a/tools/tools/html-mv/html-mv b/tools/tools/html-mv/html-mv deleted file mode 100644 index 29ea1f2db81d..000000000000 --- a/tools/tools/html-mv/html-mv +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/sh -# -# Copyright (c) 1997 Wolfram Schneider . Berlin. -# All rights reserved. -# -# rename sgml/html generated file names to human readable file names -# -# $ cd FAQ -# $ make FORMATS=html -# $ html-mv FAQ -# $ ls -# FAQ_ACKNOWLEDGMENTS.html -# FAQ_Any_restrictions_on_how_I_divide_the_disk_up_.html -# FAQ_Are_there_any_Database_systems_for_FreeBSD_.html -# FAQ_Are_there_any_commercial_high-performance_X_servers_.html -# FAQ_Books_on_FreeBSD.html -# FAQ_Can_FreeBSD_handle_multiport_serial_cards_sharing_irqs_.html -# [...] -# -# $FreeBSD$ - -case $# in 0) - echo "usage `basename $0` file" - exit 1 -esac - -file=$1; export file - -if [ -f "$file.html" ]; then : -else - echo "$file.html does not exist" - exit 1 -fi - -# search for title name -egrep -i '^[\*\s]*//; s%\s*.*%%; - s/[^a-zA-Z0-9\_\-\.:\n]/_/g' > .list - -# create sed commands -awk -F: '{print "s/" $1 "/'$file'_" $2 ".html/g;"}' .list > .sed - -# create mv(1) shell script -perl -ne 'chop;($a,$b)=split(/:/); - print qq[rename ("$a", "$ENV{'file'}_$b.html") || ] . - qq[die "rename $a $ENV{'file'}_$b.html:\$\!";\n]' .list > .mv - -# replace links -if [ -f "$file.ln" ]; then - perl -i -p .sed $file.ln -fi - -# replace links -perl -i -p .sed $file*.html - -# rename file names -perl .mv - -rm -f .mv .sed .list