From 95b15fe6d3eb89a18ff143e32a0fb958f9e8ab8f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 18 Dec 2020 11:14:58 -0800 Subject: Remove some test files that are no longer used. --- test/grofftest.sh | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 test/grofftest.sh (limited to 'test/grofftest.sh') diff --git a/test/grofftest.sh b/test/grofftest.sh deleted file mode 100644 index ac652112b..000000000 --- a/test/grofftest.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -# iterates recursively over specified directory, tries to convert -# man pages and prints to stderr on errors. - -# if called with two arguments, the first is the path to pandoc, -# and the second is the directory. if with one argument, it -# is the directory, and pandoc is used from path. - -if [ $# -eq 2 ]; then - PANDOC=$1 - DIR=$2 -elif [ $# -eq 1 ]; then - PANDOC=pandoc - DIR=$1 -else - echo "Not enough arguments" - exit 1 -fi - -$PANDOC --version > /dev/null || { echo "pandoc executable error" >&2 ; exit 1 ; } - -for f in `find "$DIR" -name '*.[0-9]'`; do - ( iconv -f utf8 -t utf8 $f 2>/dev/null || iconv -f latin1 -t utf8 $f ) | \ - $PANDOC --resource-path "$DIR":"$(dirname $f)" -f man -o /dev/null || echo "Failed to convert $f" -done -- cgit v1.2.3