Script 'schedule': fix regexp for result highlighting.

This commit is contained in:
vonavi 2014-04-23 11:24:33 +03:00
parent 10036ba138
commit 881e2f4435

View File

@ -192,7 +192,7 @@ info_output_term() {
fi fi
# Highlight result # 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" echo "$line"
done done