From f0f3c02a3ccde07d3dc79577c7eca41ea3e8e86f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 2 Apr 2010 11:32:38 +0200 Subject: Replace $var by ${var} --- etc/functions/colortable | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/functions/colortable') diff --git a/etc/functions/colortable b/etc/functions/colortable index fadd7a7..ab46eb4 100644 --- a/etc/functions/colortable +++ b/etc/functions/colortable @@ -2,7 +2,7 @@ ## print a table with all 256 color codes for i in {0..255}; { - printf " %s%-3s" $'\e[38;5;'${i}m $i + printf " %s%-3s" $'\e[38;5;'${i}m ${i} (( (i+1) % (COLUMNS/4) < 1 )) && echo } echo -- cgit v1.2.3