X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=MODULES.html.sh;h=e187e3e1885c1a1cd40aa294be1fffaa2bc69bdc;hb=10a617319435e5050434a864c2934967ebe4ac2f;hp=e7865d51af7ab5a0ebc2e328eff2198a896ee25f;hpb=dcab3e21d7163e0ccdef60ddfc340e0072abafab;p=gnulib.git diff --git a/MODULES.html.sh b/MODULES.html.sh index e7865d51a..e187e3e18 100755 --- a/MODULES.html.sh +++ b/MODULES.html.sh @@ -17,7 +17,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# Usage: MODULES.html.sh > MODULES.html +# Usage: MODULES.html.sh [--cvs-urls|--git-urls] > MODULES.html # Extend the PATH so that gnulib-tool is found. PATH=`dirname "$0"`:$PATH; export PATH @@ -28,6 +28,25 @@ case $USER in POSIX2001_URL='file:/packages/www/www.opengroup.org/susv3' ;; esac +repo_url_prefix= +repo_url_suffix= +if test $# != 0; then + case "$1" in + --cvs-urls) + # Generate URLs to the official gnulib CVS repository. + repo_url_prefix='http://cvs.sv.gnu.org/viewcvs/*checkout*/gnulib/' + repo_url_suffix='?root=gnulib&content-type=text/plain' + ;; + --git-urls) + # Generate URLs to the official gnulib git repository. + repo_url_prefix='http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=' + repo_url_suffix='' + ;; + esac +fi +# For sed replacements: Escape the '&'. +repo_url_suffix_repl=`echo "$repo_url_suffix" | sed -e 's,[&],\\\&,'` + sed_lt='s,<,\<,g' sed_gt='s,>,\>,g' sed_escape_dot='s,\.,\\.,g' @@ -1404,14 +1423,14 @@ func_module () func_begin TR - element=''$1'' + element=''$1'' func_echo "$element" includes=`gnulib-tool --extract-include-directive $1` files=`gnulib-tool --extract-filelist $1` element=`echo "$includes" \ | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \ - -e 's,^#include "\(.*\)"$,#include "\1",' \ + -e 's,^#include "\(.*\)"$,#include "\1",' \ -e 's,^#include <'"${posix_headers}"'\.h>$,#include \<\1.h\>,' \ -e 's/$/
/' | tr -d "$trnl" | sed -e 's/
$//'` test -n "$element" || element='---' @@ -1426,7 +1445,7 @@ func_module () | sed -e '/^$/d' \ | sed -n -e "$sed_choose_lib_files" \ | sed -e '/^'"${includefile}"'$/d' \ - -e 's,^\(.*\)$,\1,' \ + -e 's,^\(.*\)$,\1,' \ -e 's/$/
/' | tr -d "$trnl" | sed -e 's/
$//'` test -n "$element" || element='---' func_echo "$element" @@ -1436,7 +1455,7 @@ func_module () | sed -e "$sed_remove_trailing_empty_line" \ | sed -n -e "$sed_choose_m4_files" \ | sed -e '/^onceonly/d' \ - -e 's,^\(.*\)$,\1,'; \ + -e 's,^\(.*\)$,\1,'; \ gnulib-tool --extract-autoconf-snippet $1 \ | sed -e "$sed_remove_trailing_empty_line") \ | sed -e 's/$/
/' | tr -d "$trnl" | sed -e 's/
$//'` @@ -1471,6 +1490,7 @@ func_all_modules () func_echo "$element" func_begin_table + func_module stdlib func_module exit func_module atexit func_module strtod @@ -1483,7 +1503,6 @@ func_all_modules () func_module memset func_module strcspn func_module strpbrk - func_module strstr func_module strerror func_module mktime func_end_table @@ -1506,6 +1525,16 @@ func_all_modules () func_module verify func_end_table + element="Input/output " + element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` + func_section_wrap ansic_enh_stdio + func_wrap H3 + func_echo "$element" + + func_begin_table + func_module tmpfile + func_end_table + element="Memory management functions " element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` func_section_wrap ansic_enh_stdlib_memory @@ -1521,6 +1550,16 @@ func_all_modules () func_module pagealign_alloc func_end_table + element="Sorting functions " + element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` + func_section_wrap ansic_enh_stdlib_sorting + func_wrap H3 + func_echo "$element" + + func_begin_table + func_module mpsort + func_end_table + element="Date and time " element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` func_section_wrap ansic_enh_time_datetime @@ -1601,10 +1640,12 @@ func_all_modules () func_module stpncpy func_module c-strcase func_module strcase + func_module c-strcaseeq func_module c-strcasestr func_module strcasestr func_module strchrnul func_module strdup + func_module streq func_module strnlen func_module strnlen1 func_module strndup @@ -1799,6 +1840,7 @@ func_all_modules () func_echo "$element" func_begin_table + func_module stdio func_module snprintf func_module vsnprintf func_end_table @@ -1825,6 +1867,16 @@ func_all_modules () func_module strtoumax func_end_table + element="Extended multibyte and wide character utilities " + element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` + func_section_wrap isoc_sup_wchar + func_wrap H3 + func_echo "$element" + + func_begin_table + func_module wchar + func_end_table + element="Wide character classification and mapping utilities " element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` func_section_wrap isoc_sup_wctype @@ -1842,6 +1894,7 @@ func_all_modules () func_echo "$element" func_begin_table + func_module math func_module mathl func_end_table @@ -1892,6 +1945,7 @@ func_all_modules () func_begin_table func_module chown func_module dup2 + func_module fchdir func_module ftruncate func_module getaddrinfo func_module getcwd @@ -1909,6 +1963,7 @@ func_all_modules () func_module readlink func_module lstat func_module tempname + func_module time func_module time_r func_module timespec func_module nanosleep @@ -1917,8 +1972,10 @@ func_all_modules () func_module rmdir func_module sigprocmask func_module ssize_t + func_module strptime func_module strtok_r func_module sys_stat + func_module sys_time func_module tsearch func_module unistd func_module utime @@ -1993,6 +2050,7 @@ func_all_modules () func_module file-type func_module fileblocks func_module filemode + func_module filename func_module filenamecat func_module fts func_module fts-lgpl @@ -2004,7 +2062,6 @@ func_all_modules () func_module modechange func_module mountlist func_module openat - func_module pathname func_module pathmax func_module same func_module save-cwd @@ -2112,9 +2169,24 @@ func_all_modules () func_module iconv func_module striconv func_module xstriconv + func_module striconveh + func_module striconveha func_module iconvme func_module localcharset func_module hard-locale + func_module mbslen + func_module mbschr + func_module mbsrchr + func_module mbsstr + func_module mbscasecmp + func_module mbsncasecmp + func_module mbspcasecmp + func_module mbscasestr + func_module mbscspn + func_module mbspbrk + func_module mbsspn + func_module mbssep + func_module mbstok_r func_module mbswidth func_module memcasecmp func_module memcoll @@ -2136,8 +2208,138 @@ func_all_modules () func_module unitypes func_module ucs4-utf8 func_module ucs4-utf16 + func_module utf8-ucs4-unsafe + func_module utf16-ucs4-unsafe func_module utf8-ucs4 func_module utf16-ucs4 + func_module unistr/base + func_module unistr/u8-to-u16 + func_module unistr/u8-to-u32 + func_module unistr/u16-to-u8 + func_module unistr/u16-to-u32 + func_module unistr/u32-to-u8 + func_module unistr/u32-to-u16 + func_module unistr/u8-check + func_module unistr/u16-check + func_module unistr/u32-check + func_module unistr/u8-chr + func_module unistr/u16-chr + func_module unistr/u32-chr + func_module unistr/u8-cmp + func_module unistr/u16-cmp + func_module unistr/u32-cmp + func_module unistr/u8-cpy + func_module unistr/u16-cpy + func_module unistr/u32-cpy + func_module unistr/u8-cpy-alloc + func_module unistr/u16-cpy-alloc + func_module unistr/u32-cpy-alloc + func_module unistr/u8-endswith + func_module unistr/u16-endswith + func_module unistr/u32-endswith + func_module unistr/u8-mblen + func_module unistr/u16-mblen + func_module unistr/u32-mblen + func_module unistr/u8-mbtouc-unsafe + func_module unistr/u16-mbtouc-unsafe + func_module unistr/u32-mbtouc-unsafe + func_module unistr/u8-mbtouc + func_module unistr/u16-mbtouc + func_module unistr/u32-mbtouc + func_module unistr/u8-move + func_module unistr/u16-move + func_module unistr/u32-move + func_module unistr/u8-next + func_module unistr/u16-next + func_module unistr/u32-next + func_module unistr/u8-prev + func_module unistr/u16-prev + func_module unistr/u32-prev + func_module unistr/u8-set + func_module unistr/u16-set + func_module unistr/u32-set + func_module unistr/u8-startswith + func_module unistr/u16-startswith + func_module unistr/u32-startswith + func_module unistr/u8-stpcpy + func_module unistr/u16-stpcpy + func_module unistr/u32-stpcpy + func_module unistr/u8-stpncpy + func_module unistr/u16-stpncpy + func_module unistr/u32-stpncpy + func_module unistr/u8-strcat + func_module unistr/u16-strcat + func_module unistr/u32-strcat + func_module unistr/u8-strchr + func_module unistr/u16-strchr + func_module unistr/u32-strchr + func_module unistr/u8-strcmp + func_module unistr/u16-strcmp + func_module unistr/u32-strcmp + func_module unistr/u8-strcpy + func_module unistr/u16-strcpy + func_module unistr/u32-strcpy + func_module unistr/u8-strcspn + func_module unistr/u16-strcspn + func_module unistr/u32-strcspn + func_module unistr/u8-strdup + func_module unistr/u16-strdup + func_module unistr/u32-strdup + func_module unistr/u8-strlen + func_module unistr/u16-strlen + func_module unistr/u32-strlen + func_module unistr/u8-strmblen + func_module unistr/u16-strmblen + func_module unistr/u32-strmblen + func_module unistr/u8-strmbtouc + func_module unistr/u16-strmbtouc + func_module unistr/u32-strmbtouc + func_module unistr/u8-strncat + func_module unistr/u16-strncat + func_module unistr/u32-strncat + func_module unistr/u8-strncmp + func_module unistr/u16-strncmp + func_module unistr/u32-strncmp + func_module unistr/u8-strncpy + func_module unistr/u16-strncpy + func_module unistr/u32-strncpy + func_module unistr/u8-strnlen + func_module unistr/u16-strnlen + func_module unistr/u32-strnlen + func_module unistr/u8-strpbrk + func_module unistr/u16-strpbrk + func_module unistr/u32-strpbrk + func_module unistr/u8-strrchr + func_module unistr/u16-strrchr + func_module unistr/u32-strrchr + func_module unistr/u8-strspn + func_module unistr/u16-strspn + func_module unistr/u32-strspn + func_module unistr/u8-strstr + func_module unistr/u16-strstr + func_module unistr/u32-strstr + func_module unistr/u8-strtok + func_module unistr/u16-strtok + func_module unistr/u32-strtok + func_module unistr/u8-uctomb + func_module unistr/u16-uctomb + func_module unistr/u32-uctomb + func_module uniconv/base + func_module uniconv/u8-conv-from-enc + func_module uniconv/u16-conv-from-enc + func_module uniconv/u32-conv-from-enc + func_module uniconv/u8-strconv-from-enc + func_module uniconv/u16-strconv-from-enc + func_module uniconv/u32-strconv-from-enc + func_module uniconv/u8-strconv-to-enc + func_module uniconv/u16-strconv-to-enc + func_module uniconv/u32-strconv-to-enc + func_module uniconv/u8-strconv-from-locale + func_module uniconv/u16-strconv-from-locale + func_module uniconv/u32-strconv-from-locale + func_module uniconv/u8-strconv-to-locale + func_module uniconv/u16-strconv-to-locale + func_module uniconv/u32-strconv-to-locale func_end_table element="Executing programs" @@ -2224,6 +2426,7 @@ func_all_modules () func_module elisp-comp func_module ldd func_module lib-ignore + func_module link-warning func_module no-c++ func_end_table @@ -2338,7 +2541,7 @@ if test -n "$missed_files"; then func_echo "$element" func_echo '
'
-  echo "$missed_files" | sed -e 's,^\(.*\)$,\1,'
+  echo "$missed_files" | sed -e 's,^\(.*\)$,\1,'
   echo '
' fi