#!/bin/bash
# Apply CSS style to 'ansicmd.html'
# 
# Author: Mahlon R. Smith - The Software Samurai
# Date  : 17-Jun-2023

if [ -e ansicmd.html ]; then

   if [ -e idpp_response.txt ]; then

      # Interactive post-processing
      idpp -ciV --response=idpp_response.txt ansicmd.html

      # Automatic post-processing
      #idpp -cV ansicmd.html

   else
      echo 'idpp_response.txt not found'
   fi

else
   echo 'ansicmd.html not found'
fi