#!/usr/bin/env bash unset -f filter-lines filter-lines() { sed $'s|^|\x1b[32m('"$1/$2"$')\x1b[39m |' } make -C $1 $2 | filter-lines $1 $2