Skip to content

Commit 85a673e

Browse files
committed
add init
1 parent 70374c7 commit 85a673e

34 files changed

+138
-0
lines changed

.w3m/w3mplus/bin/aboutURI.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
# @licence https://creativecommons.org/licenses/by/4.0/
1010
##
1111

12+
# 初期化
1213
set -eu
14+
umask 0022
15+
IFS=$(printf ' \t\n$'); IFS="${IFS%$}"
16+
export 'IFS'
1317

1418
case "${1-about:about}" in
1519
'about:')

.w3m/w3mplus/bin/cgi-bin/blocking

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
# @licence https://creativecommons.org/licenses/by/4.0/
1010
##
1111

12+
# 初期化
1213
set -eu
14+
umask 0022
15+
IFS=$(printf ' \t\n$'); IFS="${IFS%$}"
16+
export 'IFS'
1317

1418
: ${W3MPLUS_PATH:="${HOME}/.w3m/w3mplus"}
1519

.w3m/w3mplus/bin/cgi-bin/w3mplus

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
# @licence https://creativecommons.org/licenses/by/4.0/
1010
##
1111

12+
# 初期化
1213
set -eu
14+
umask 0022
15+
IFS=$(printf ' \t\n$'); IFS="${IFS%$}"
16+
export 'IFS'
1317

1418
expand () (
1519
if expr "${1}" : '${[_A-Z][_0-9A-Za-z]*}$' >'/dev/null'; then

.w3m/w3mplus/bin/closeTab.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
# @licence https://creativecommons.org/licenses/by/4.0/
1010
##
1111

12+
# 初期化
1213
set -eu
14+
umask 0022
15+
IFS=$(printf ' \t\n$'); IFS="${IFS%$}"
16+
export 'IFS'
1317

1418
# 各変数に既定値を代入する
1519
config="${W3MPLUS_PATH}/tabRestore"

.w3m/w3mplus/bin/contextMenu.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
# @licence https://creativecommons.org/licenses/by/4.0/
1010
##
1111

12+
# 初期化
1213
set -eu
14+
umask 0022
15+
IFS=$(printf ' \t\n$'); IFS="${IFS%$}"
16+
export 'IFS'
1317

1418
if [ -n "${W3M_CURRENT_LINK-}" ] && [ -n "${W3M_CURRENT_IMG-}" ]; then
1519
menu='ContextMenuLinkImage'

.w3m/w3mplus/bin/find.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
# @licence https://creativecommons.org/licenses/by/4.0/
1010
##
1111

12+
# 初期化
1213
set -eu
14+
umask 0022
15+
IFS=$(printf ' \t\n$'); IFS="${IFS%$}"
16+
export 'IFS'
1317

1418
# 各変数に既定値を代入する
1519
exactFlag='0'

.w3m/w3mplus/bin/getAutoCommand.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
# @licence https://creativecommons.org/licenses/by/4.0/
1010
##
1111

12+
# 初期化
1213
set -eu
14+
umask 0022
15+
IFS=$(printf ' \t\n$'); IFS="${IFS%$}"
16+
export 'IFS'
1317

1418
# 各変数に既定値を代入する
1519
config="${W3MPLUS_PATH}/autoCommand"

.w3m/w3mplus/bin/getQuickMark.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
# @licence https://creativecommons.org/licenses/by/4.0/
1010
##
1111

12+
# 初期化
1213
set -eu
14+
umask 0022
15+
IFS=$(printf ' \t\n$'); IFS="${IFS%$}"
16+
export 'IFS'
1317

1418
gotoMove () (
1519
line="${1}"

.w3m/w3mplus/bin/htmlEscape.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/usr/bin/env sh
22

3+
# 初期化
34
set -eu
5+
umask 0022
6+
IFS=$(printf ' \t\n$'); IFS="${IFS%$}"
7+
export 'IFS'
48

59
escape () {
610
sed -e "s/&/\\&amp;/g; s/</\\&lt;/g; s/>/\\&gt;/g; s/\"/\\&quot;/g; s/'/\\&#x27;/g"

.w3m/w3mplus/bin/httpHeader.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/usr/bin/env sh
22

3+
# 初期化
34
set -eu
5+
umask 0022
6+
IFS=$(printf ' \t\n$'); IFS="${IFS%$}"
7+
export 'IFS'
48

59
case "${LANG}" in 'C')
610
LANG='en_US.US-ASCII'

0 commit comments

Comments
 (0)