Übungen der VHDL-Einführung
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

highlight_test_results.sh 147B

1 month ago
1234567
  1. #!/bin/bash
  2. red=$(tput setaf 1)
  3. green=$(tput setaf 2)
  4. default=$(tput sgr0)
  5. sed "s/FAIL/${red}FAIL${default}/" | sed "s/OK/${green}OK${default}/"