#!/bin/sh if [ $# -ne 0 ]; then cat<&2 Usage: ${0##*/} A therme vierwer for 'highlight', a listing pretty-printer. This script runs over every single theme. A 256-color terminal is required. EOF exit fi if ! command -v highlight >/dev/null 2>&1; then echo >&2 "'highlight' not found" exit 1 fi SAMPLE="$(cat < $i" echo "$SAMPLE" | highlight -S c -O xterm256 -s "$i" read DUMMY done