f5c4be Update cli_getFilesList.sh:

Authored and Committed by areguera 13 years ago
    Update cli_getFilesList.sh:
    
        - The function cli_getFilesList no longer updates the FILES
          variable. Instead, it outputs its values directly when called.
    
        - So, from now on when you need to use the function
          cli_getFilesList, the correct way of doing so is using local
          definitions. 
          
          For example, the following definition is used to retrive all
          scalable vector graphics from the path provided and controlled
          by the regular expression passed in the `--filter' option:
    
            local FILES=$(cli_getFilesList "${ACTIONVAL}" "${FLAG_FILTER}.*\.(svgz|svg)")
    
          If the `--filter' option is not passed then the default value
          for it is assumed which is `.+'. This make to match all scalable
          vector graphics with no exception.
    
          If you need to retrive files from another place but that passed
          in ${ACTIONVAL}, then you can change the variable to what ever
          variable the path you want to use as base location is contain
          in.