@@ -131,7 +131,7 @@ add_printtmp() {
131131}
132132
133133error_meesage () {
134- httpresponse --status-line ' HTTP/1.1 500 Internal Server Error' -H ' Content-Type: text/plain; charset=UTF-8' -- - << -EOF
134+ httpresponse --status-line ' HTTP/1.1 500 Internal Server Error' -H ' Content-Type: text/plain; charset=UTF-8' -- - << -__EOF__
135135 An unexpected error occurred during request processing.
136136
137137 # Error message
@@ -141,7 +141,7 @@ error_meesage() {
141141 # Environment variable
142142
143143 $( env)
144- EOF
144+ __EOF__
145145}
146146
147147expand () {
@@ -192,9 +192,9 @@ if [ -f "${W3MPLUS_PASS_FILE}" ] && [ "${W3MPLUS_PASS_VALUE}" '!=' "$(cat -- "${
192192 httpresponse \
193193 --status-line ' HTTP/1.1 400 Bad Request' \
194194 -H ' Content-Type: text/plain; charset=UTF-8' \
195- -- - << -'EOF '
195+ -- - << -'__EOF__ '
196196 The value of 'pass' is invalid.
197- EOF
197+ __EOF__
198198
199199 exit
200200fi
@@ -288,9 +288,9 @@ case "${query_action-}" in
288288
289289 query_subaction=' goto'
290290 commandArg=" ${commandArg} $(
291- cat << -'EOF '
291+ cat << -'__EOF__ '
292292 -- incrementuri ${query_number+--number "'${query_number}'"}
293- EOF
293+ __EOF__
294294 ) "
295295 ;;
296296 ' parent-uripath' )
@@ -300,9 +300,9 @@ case "${query_action-}" in
300300
301301 query_subaction=' goto'
302302 commandArg=" ${commandArg} $(
303- cat << -'EOF '
303+ cat << -'__EOF__ '
304304 -- parenturipath ${query_number+--number "'${query_number}'"}
305- EOF
305+ __EOF__
306306 ) "
307307 ;;
308308 ' redirect' )
@@ -314,9 +314,9 @@ case "${query_action-}" in
314314 pass=$( printf ' %s' " ${W3MPLUS_PASS_VALUE} " | urlencode)
315315 path_to_fileurl ' filepath' " ${SCRIPT_NAME} "
316316 commandArg=" ${commandArg} $(
317- cat << -'EOF '
317+ cat << -'__EOF__ '
318318 -- printf "'%s%s'" "'${query_redirect-${filepath}?pass=${pass}&action=search&tab=del-prebuf&query=}'" '"$(urlencode)"'
319- EOF
319+ __EOF__
320320 ) "
321321 ;;
322322 esac
@@ -386,7 +386,7 @@ case "${query_action-}" in
386386 ;;
387387 ' get-url-mark' | ' get-url-mark-line-begin' )
388388 awkScript=$(
389- cat << -'EOF '
389+ cat << -'__EOF__ '
390390 BEGIN {
391391 FS = "\t"
392392 }
@@ -397,7 +397,7 @@ case "${query_action-}" in
397397
398398 printf("%s\t%s\t\t\t%s\n", uri, line, (moveURL == "" ? "" : "GOTO " moveURL $3))
399399 }
400- EOF
400+ __EOF__
401401 )
402402
403403 case " ${query_action} " in
@@ -661,7 +661,7 @@ case "${query_action-}" in
661661 ;;
662662 ' show-search-history' )
663663 awkScript=$(
664- cat << -'EOF '
664+ cat << -'__EOF__ '
665665 @include "html_escape.awk"
666666 @include "url_decode.awk"
667667
@@ -677,7 +677,7 @@ case "${query_action-}" in
677677 END {
678678 printf("</samp></pre>")
679679 }
680- EOF
680+ __EOF__
681681 )
682682 pass=$( printf ' %s' " ${W3MPLUS_PASS_VALUE} " | urlencode)
683683 path_to_fileurl ' filepath' " ${SCRIPT_NAME} "
@@ -835,7 +835,7 @@ case "${query_action-}" in
835835
836836 printhtml \
837837 --title ' Bad Request' \
838- -- - << -EOF \
838+ -- - << -__EOF__ \
839839 | httpresponse \
840840 --status-line 'HTTP/1.1 400 Bad Request' \
841841 -H 'Content-Type: text/html; charset=UTF-8' \
@@ -973,6 +973,6 @@ case "${query_action-}" in
973973 <dt>zoom</dt>
974974 <dd>${filepath} ?pass={PASS_VALUE}&action=zoom&zoom={([+*/-] '=')? UNSIGNED_INTEGER}</dd>
975975 </dl>
976- EOF
976+ __EOF__
977977 ;;
978978esac
0 commit comments