Fix potential errors from a missing escaped char in regex

This commit is contained in:
Vincent Aranega 2016-06-16 16:11:00 +02:00
parent f5a9393d4b
commit e2b14b26ad

View file

@ -1816,7 +1816,7 @@ gettermfont () {
;;
"terminology")
termfont="$(strings ${XDG_CONFIG_HOME}/terminology/config/standard/base.cfg | awk '/^font.name$/{print a}{a=$0}')"
termfont="$(strings ${XDG_CONFIG_HOME}/terminology/config/standard/base.cfg | awk '/^font\.name$/{print a}{a=$0}')"
termfont="${termfont/.pcf}"
termfont="${termfont/:*}"
;;