1
Fork 0

Script 'schedule': fix regexp for result highlighting.

master
vonavi 2014-04-23 11:24:33 +03:00
parent 10036ba138
commit 881e2f4435
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ info_output_term() {
fi
# Highlight result
line=$(sed -E "s/(1-0|0-1|1\\/2)/\\$(tput setaf 6)\1\\$(tput sgr0)/g" <<< "$line")
line=$(sed -E "s/ (1-0|0-1|1\\/2)( |$)/ \\$(tput setaf 6)\1\\$(tput sgr0)\2/g" <<< "$line")
echo "$line"
done