| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function tuneup_doBaseActions { |
| |
| local FILE='' |
| local FILES='' |
| local EXTENSION='' |
| |
| |
| |
| EXTENSION='(svg|xhtml|sh)' |
| |
| |
| FILES=$(cli_getFilesList ${ACTIONVAL} --pattern="${FLAG_FILTER}.*\.${EXTENSION}") |
| |
| |
| cli_printMessage '-' --as-separator-line |
| |
| |
| |
| for FILE in $FILES;do |
| |
| |
| cli_printMessage "$FILE" --as-tuningup-line |
| |
| |
| if [[ $FILE =~ '\.svg$' ]];then |
| ${FUNCNAM}_svg |
| elif [[ $FILE =~ '\.xhtml$' ]];then |
| ${FUNCNAM}_xhtml |
| elif [[ $FILE =~ '\.sh$' ]];then |
| ${FUNCNAM}_shell |
| fi |
| |
| done |
| |
| } |