#!/bin/bash red=$(tput setaf 1) green=$(tput setaf 2) default=$(tput sgr0) sed "s/FAIL/${red}FAIL${default}/" | sed "s/OK/${green}OK${default}/"