diff options
author | Rob Austein <sra@hactrn.net> | 2012-10-17 23:04:39 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2012-10-17 23:04:39 +0000 |
commit | aa01113f28a31c4767f3c4b1fc038bc4e7ae3135 (patch) | |
tree | 93b3f4f6c319c539ad8900ed195249245201c5c7 /rcynic | |
parent | f5e600161c60b3d660ce6f5d6ab72b2f339cd737 (diff) |
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
Diffstat (limited to 'rcynic')
-rw-r--r-- | rcynic/Makefile.in | 5 | ||||
-rwxr-xr-x | rcynic/validation_status.awk | 32 |
2 files changed, 4 insertions, 33 deletions
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); -} |