dot

packages and services management
Log | Files | Refs | README

commit c24f86afd791bf39d371dd58c13a69834592a77b
parent fbe546cc2e981029e84ac1f33b210199add7c3d0
Author: josuah <mail@josuah.net>
Date:   Sat,  8 Oct 2016 14:58:29 -0400

Fixing bold font

Diffstat:
Mbin/fig | 20++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/bin/fig b/bin/fig @@ -801,18 +801,18 @@ fi | fold -w 1 | { esac ;; esac - - if [ "$font" = bold ] - then - l1="$l1 " - l2="$l2 " - l3="$l3 " - l4="$l4 " - l5="$l5 " - l6="$l6" - fi done + if [ "$font" = bold ] + then + l1=" $l1" + l2=" $l2" + l3=" $l3" + l4=" $l4" + l5=" $l5" + l6="$l6" + fi + [ "$l1" ] && printf '%s\n' "$l1" [ "$l2" ] && printf '%s\n' "$l2" [ "$l3" ] && printf '%s\n' "$l3"