X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Ffiles%2Fchecker_report.sh;fp=scripts%2Ffiles%2Fchecker_report.sh;h=0000000000000000000000000000000000000000;hb=7b39f7e279005c8466ef508220a532ce2aa4abf8;hp=3dd649abf8a000215537bd4814b2ba5b8db2b701;hpb=3fbd372b35b15a19fb171d5ae34294ff7b1e6485;p=feisty_meow.git diff --git a/scripts/files/checker_report.sh b/scripts/files/checker_report.sh deleted file mode 100644 index 3dd649ab..00000000 --- a/scripts/files/checker_report.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -# checker_report: runs the checker utility against all files in a directory, -# in such a way that the file count can be very high without blowing its -# mind, and without any extra headers in the report. - -source $FEISTY_MEOW_SCRIPTS/core/functions.sh - -dirname="$1"; shift -outfile="$1"; shift # optional parm. - -if [ -z "$dirname" ]; then - echo "This script requires one directory on which to make a checker report." - echo "Additionally, you can specify an output file as the second parameter." - exit 1 -fi - -if [ -z "$outfile" ]; then - outfile="$HOME/checker_report_$(hostname)_$(date_stringer).txt" -fi - -if [ -f "$outfile" ]; then - rm "$outfile" -fi - -temp_file_list="$(mktemp /tmp/file_list_temporary.XXXXXX)" - -find "$dirname" -type f >"$temp_file_list" -###-exec echo \"{}\" ';' -while read input_text; do - checker -q -b "$input_text" 2>&1 >>"$outfile" -done <"$temp_file_list" - -