Loesung des Praktikums Systementwurf - Bjarne Hoesch - Bernhard Schoeffel
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 year 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}/"