tSpecify file to use, and fix HL colors names - scripts - various script and utils
 (HTM) git clone git://z3bra.org/scripts
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit ce5e21eb9799cfcb56f22e845b47b864f65a23a9
 (DIR) parent b32d68f499b1beb3e5fa6bf5546a20369e10e0b2
 (HTM) Author: z3bra <willy@mailoo.org>
       Date:   Fri, 17 Oct 2014 12:03:30 +0200
       
       Specify file to use, and fix HL colors names
       
       Diffstat:
         M cdump                               |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/cdump b/cdump
       t@@ -1,7 +1,7 @@
        #!/bin/sh
        
        FILE=$HOME/etc/Xresources
       -FILE=$HOME/etc/theme/bow
       +FILE=$HOME/etc/theme/flashy
        
        for NUM in $(seq 0 7); do
              CN=$(grep "^\*color${NUM}:" $FILE | cut -d':' -f2 | tr -d ' ')
       t@@ -17,7 +17,7 @@ for NUM in $(seq 0 7); do
        done
        echo
        for NUM in $(seq 0 7); do
       -      CN=$(grep "^\*color${NUM}:" $FILE | cut -d':' -f2 | tr -d ' ')
       +    CN=$(grep "^\*color$((${NUM} + 8)):" $FILE | cut -d':' -f2 | tr -d ' ')
              printf    "\e[1;3${NUM}m%s " $CN
        done
        printf "\e[0m\n"