03f2b5 Update render_doBaseActions.sh.

Authored and Committed by areguera 13 years ago
Scripts/Functions/Render/render_doBaseActions.sh CHANGED
@@ -76,6 +76,20 @@ function render_doBaseActions {
76
76
# localized content from being interpreted as design models. In
77
77
# that sake, supress language-specific files from the list of
78
78
# files to process.
79
+ #
80
+ # Another issue to consider here, is the way of filtering. We
81
+ # cannot expand the pattern specified by FLAG_FILTER with a `.*'
82
+ # here (e.g., "${FLAG_FILTER}.*\.${EXTENSION}") because tha would
83
+ # suppress any possibility of the user to specifiy just one file
84
+ # name in locations where more than one file with the same name as
85
+ # prefix exists (e.g., `repository.docbook',
86
+ # `repository-preamble.docbook' and `repository-parts.docbook').
87
+ # Instead, pass control of this to the user whom can use regular
88
+ # expression markup in the `--filter' option to decide whether to
89
+ # match `repository.docbook' (e.g., through
90
+ # `--filter="repository"') or both `repository-preamble.docbook'
91
+ # and `repository-parts.docbook' (e.g., through
92
+ # `--filter="repository.*"').
79
93
for FILE in $(cli_getFilesList ${TEMPLATE} \
80
94
--pattern="${FLAG_FILTER}\.${EXTENSION}" --type="f" \
81
95
| egrep -v '/[[:alpha:]]{2}_[[:alpha:]]{2}/');do