Pear Code
Colorized tail

tailcolor() {
    tail -f -n5000 $1 | perl -pe "s/$2/\e[1;31;43m$&\e[0m/g"
}

  1. pearcode opublikował(a) to