Browse Source

Make formatting work for values with spaces

Alois Mahdal 7 years ago
parent
commit
204b6d0596
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/stub

+ 2
- 1
src/stub View File

644
         }
644
         }
645
         echo "$key = $value"
645
         echo "$key = $value"
646
     done \
646
     done \
647
-      | column -to' ' \
647
+      | sed 's/ *= */=/; s/^ *//; s/ *$//' \
648
+      | column -t -s= -o' = ' \
648
       | sed 's/^/    /'
649
       | sed 's/^/    /'
649
 }
650
 }
650
 
651