From aa01113f28a31c4767f3c4b1fc038bc4e7ae3135 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 17 Oct 2012 23:04:39 +0000 Subject: validation_status.py is both simpler and faster than validation_status.awk, so delete the latter and make the former a proper script. svn path=/branches/tk274/; revision=4783 --- rcynic/Makefile.in | 5 ++++- rcynic/validation_status.awk | 32 -------------------------------- 2 files changed, 4 insertions(+), 33 deletions(-) delete mode 100755 rcynic/validation_status.awk (limited to 'rcynic') diff --git a/rcynic/Makefile.in b/rcynic/Makefile.in index 693b2ed6..0ec6e301 100644 --- a/rcynic/Makefile.in +++ b/rcynic/Makefile.in @@ -23,7 +23,7 @@ abs_top_builddir = @abs_top_builddir@ host_os = @host_os@ -SCRIPTS = rcynic-text rcynic-html +SCRIPTS = rcynic-text rcynic-html validation_status all: ${BIN} ${SCRIPTS} @@ -73,6 +73,9 @@ rcynic-text: rcynic-text.py rcynic-html: rcynic-html.py ${COMPILE_PYTHON} +validation_status: validation_status.py + ${COMPILE_PYTHON} + tags: TAGS TAGS: ${SRC} ${GEN} diff --git a/rcynic/validation_status.awk b/rcynic/validation_status.awk deleted file mode 100755 index 92012595..00000000 --- a/rcynic/validation_status.awk +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/awk -f - -# $Id$ -# -# Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC") -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH -# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, -# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE -# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -# PERFORMANCE OF THIS SOFTWARE. - -# Prettyprint output of validation_status.xsl - -BEGIN { - FS = "\t"; - cmd = "xsltproc validation_status.xsl"; - if (ARGC == 1) - cmd = cmd " -"; - else - for (i = 1; i < ARGC; ++i) - cmd = cmd " " ARGV[i]; - while ((cmd | getline) > 0) - printf "%s %8s %-40s %s\n", $1, $4, $2, $3; - close(cmd); -} -- cgit v1.2.3