=== modified file 'zsh-functions/zsv_parse' --- zsh-functions/zsv_parse 2014-02-14 06:12:51 +0000 +++ zsh-functions/zsv_parse 2014-02-13 01:01:55 +0000 @@ -2,23 +2,13 @@ typeset -g -A svtab_flags svtab_runf svtab_logf svtab_sh typeset -g zsv_flags zsv_sh local name flags sh -while IFS=: read line; do - [[ $line == '#'* ]] && continue - if [[ $line == [$~IFS]* ]]; then - svtab_sh[$name]+=$'\n'$line - else - name=${line%%:*} - flags=${${line#*:}%%:*} - sh=${${line#*:}#*:} - - svtab+=$name - svtab_flags[$name]=${flags:-$zsv_default_flags} - svtab_sh[$name]=${sh:-$zsv_default_sh} - fi -# while IFS=: read name flags sh; do -# [[ $name == '#'* ]] && continue +while IFS=: read name flags sh; do + [[ $name == '#'* ]] && continue + svtab+=$name + svtab_flags[$name]=${flags:-$zsv_default_flags} # svtab_runf[$name]=${runf:-$zsv_default_runf} # svtab_logf[$name]=${logf:-$zsv_default_logf} + svtab_sh[$name]=${sh:-$zsv_default_sh} # if [[ $name == $zsv_name ]]; then # zsv_flags=${flags:-$zsv_default_flags} # zsv_runf=${runf:-$zsv_default_runf}