X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=MODULES.html.sh;h=34ca5cc3d7a215e1603bd0b6ad887c51c963472b;hb=ecaa75e473e24317c629b28380cd9b9658e5ac76;hp=8785ff2ca280bbec7e3aeada1904cc3bbc656d01;hpb=1a37570ad953719d2d625fe4a061ffbd5ff550a3;p=gnulib.git
diff --git a/MODULES.html.sh b/MODULES.html.sh
index 8785ff2ca..34ca5cc3d 100755
--- a/MODULES.html.sh
+++ b/MODULES.html.sh
@@ -1512,19 +1512,26 @@ func_module ()
# parentheses (as per GNU standards, section "GNU Manuals").
# - Flag the remaining symbol() constructs as errors.
# - Change 'xxx' to xxx
.
+ sed_extract_element='
+ '$sed_lt'
+ '$sed_gt'
+ '$sed_remove_trailing_empty_line'
+ s,^, ,
+ s,$, ,
+ s,\([^a-zA-Z_]\)'$posix_functions'() \(function\|macro\),\1\2 \3,g
+ s,\([^a-zA-Z_]\)'$posix_functions' \(function\|macro\),\1\2 \3,g
+ s,\([^a-zA-Z_]\)'$posix_functions'(),\1\2 what?? If you mean a function\, please say so.,g
+ s,\([^a-zA-Z_]\)'$posix2001_functions'() \(function\|macro\),\1\2 \3,g
+ s,\([^a-zA-Z_]\)'$posix2001_functions' \(function\|macro\),\1\2 \3,g
+ s,\([^a-zA-Z_]\)'$posix2001_functions'(),\1\2 what?? If you mean a function\, please say so.,g
+ s,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)() \(function\|macro\),\1\2 \3,g
+ s,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)(),\1\2 what?? If you mean a function\, please say so.,g
+ s, '"'"'\([a-zA-Z0-9_ -]*\)'"'"'\([^a-zA-Z0-9_]\), \1
\2,g
+ s,^ ,,
+ s, $,,
+ '
element=`gnulib-tool --extract-description $1 \
- | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
- -e 's,^, ,' -e 's,$, ,' \
- -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'() \(function\|macro\),\1\2 \3,g' \
- -e 's,\([^a-zA-Z_]\)'"${posix_functions}"' \(function\|macro\),\1\2 \3,g' \
- -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'(),\1\2 what?? If you mean a function\, please say so.,g' \
- -e 's,\([^a-zA-Z_]\)'"${posix2001_functions}"'() \(function\|macro\),\1\2 \3,g' \
- -e 's,\([^a-zA-Z_]\)'"${posix2001_functions}"' \(function\|macro\),\1\2 \3,g' \
- -e 's,\([^a-zA-Z_]\)'"${posix2001_functions}"'(),\1\2 what?? If you mean a function\, please say so.,g' \
- -e 's,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)() \(function\|macro\),\1\2 \3,g' \
- -e 's,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)(),\1\2 what?? If you mean a function\, please say so.,g' \
- -e 's, '"'"'\([a-zA-Z0-9_ -]*\)'"'"'\([^a-zA-Z0-9_]\), \1
\2,g' \
- -e 's,^ ,,' -e 's, $,,'`
+ | LC_ALL=C sed -e "$sed_extract_element"`
func_echo "
' - echo "$missed_files" | sed -e 's,^\(.*\)$,\1,' + echo "$missed_files" | sed -e 's,^\(.*\)$,\1,' echo '' fi