#!/bin/bash for file in *.jpg *.JPG ; do clear echo "Normal" jp2a --height=$1 "$file" | sed 's/$/\[line break\]\"\;/' |sed 's/^/\tsay \"/' read clear echo "Inverted" jp2a -i --height=$1 "$file" | sed 's/$/\[line break\]\"\;/' |sed 's/^/\tsay \"/' read done
Comments