#
# Copyright (C) 2002-2007 Free Software Foundation, Inc.
#
-# This program is free software; you can redistribute it and/or modify
+# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Usage: MODULES.html.sh [--cvs-urls|--git-urls] > MODULES.html
conjf
conjl
connect
-contents
copysign
copysignf
copysignl
erff
erfl
errno
-exec
execl
execle
execlp
tmpfile
tmpnam
toascii
-toc
tolower
toupper
towctrans
element='<A HREF="#module='$1'">'$1'</A>'
func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"20%\">$element"
+ # Rendering the description:
+ # - Change the symbol() syntax as suitable for documentation, removing the
+ # parentheses (as per GNU standards, section "GNU Manuals").
+ # - Flag the remaining symbol() constructs as errors.
+ # - Change 'xxx' to <CODE>xxx</CODE>.
element=`gnulib-tool --extract-description $1 \
| sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
- -e 's,^, ,' \
- -e 's,\([^a-zA-Z]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A>(),g' \
- -e 's,^ ,,'`
+ -e 's,^, ,' -e 's,$, ,' \
+ -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'() \(function\|macro\),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> \3,g' \
+ -e 's,\([^a-zA-Z_]\)'"${posix_functions}"' \(function\|macro\),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> \3,g' \
+ -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> <SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say so.</SPAN>,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 <SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say so.</SPAN>,g' \
+ -e 's, '"'"'\([a-zA-Z0-9_ -]*\)'"'"'\([^a-zA-Z0-9_]\), <CODE>\1</CODE>\2,g' \
+ -e 's,^ ,,' -e 's, $,,'`
func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"80%\">$element"
func_end TR
func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
includes=`gnulib-tool --extract-include-directive $1`
- files=`gnulib-tool --extract-filelist $1`
+ files=`gnulib-tool --extract-filelist $1 \
+ | grep -v '^m4/gnulib-common\.m4$'`
element=`echo "$includes" \
| sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
-e 's,^#include "\(.*\)"$,#include "<A HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>",' \
element=`echo "$files" \
| sed -e '/^$/d' \
| sed -n -e "$sed_choose_lib_files" \
- | sed -e '/^'"${includefile}"'$/d' \
+ | sed -e '\|^'"${includefile}"'$|d' \
-e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>,' \
-e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
test -n "$element" || element='---'
func_echo "$element"
func_begin_table
+ func_module stdlib
func_module exit
func_module atexit
func_module strtod
func_module verify
func_end_table
+ element="Mathematics <math.h>"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap ansic_enh_math
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module fpieee
+ func_end_table
+
+ element="Input/output <stdio.h>"
+ 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 fflush
+ func_module fseterr
+ func_module tmpfile
+ func_end_table
+
element="Memory management functions <stdlib.h>"
element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
func_section_wrap ansic_enh_stdlib_memory
func_module xalloc-die
func_module alloca
func_module alloca-opt
- func_module allocsa
- func_module xallocsa
+ func_module malloca
+ func_module xmalloca
func_end_table
element="Integer arithmetic functions <stdlib.h>"
func_echo "$element"
func_begin_table
+ func_module count-one-bits
func_module gcd
func_module minmax
func_end_table
func_module strsep
func_module c-strstr
func_module trim
- #func_module fstrcmp
+ func_module fstrcmp
func_module xstrndup
func_end_table
+ element="Mathematics <math.h>"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap ansic_ext_math
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module printf-frexp
+ func_end_table
+
element="Numeric conversion functions <stdlib.h>"
element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
func_section_wrap ansic_ext_stdlib_conv
func_module linkedhash-list
func_module avltreehash-list
func_module rbtreehash-list
+ func_module sublist
func_module oset
func_module array-oset
func_module avltree-oset
func_module rbtree-oset
func_end_table
- element="Cryptographic computations"
+ element="Cryptographic computations (low-level)"
element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
func_section_wrap ansic_ext_crypto
func_wrap H3
func_echo "$element"
func_begin_table
- func_module md5
- func_module sha1
+ func_module crypto/arcfour
+ func_module crypto/arctwo
+ func_module crypto/des
+ func_module crypto/hmac-md5
+ func_module crypto/hmac-sha1
+ func_module crypto/md2
+ func_module crypto/md4
+ func_module crypto/md5
+ func_module crypto/rijndael
+ func_module crypto/sha1
+ func_end_table
+
+ element="Cryptographic computations (high-level)"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap ansic_ext_crypto2
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module crypto/gc
+ func_module crypto/gc-arcfour
+ func_module crypto/gc-arctwo
+ func_module crypto/gc-des
+ func_module crypto/gc-hmac-md5
+ func_module crypto/gc-hmac-sha1
+ func_module crypto/gc-md2
+ func_module crypto/gc-md4
+ func_module crypto/gc-md5
+ func_module crypto/gc-pbkdf2-sha1
+ func_module crypto/gc-random
+ func_module crypto/gc-rijndael
+ func_module crypto/gc-sha1
func_end_table
element="Misc"
func_begin_table
func_module base64
func_module check-version
+ func_module crc
func_module diacrit
+ func_module diffseq
func_module getline
func_module getdelim
func_module getnline
func_module getndelim2
func_module linebuffer
+ func_module memxor
func_module obstack
func_module hash-pjw
func_module hash
func_begin_table
func_module flexmember
+ func_module fpucw
+ func_module inline
func_module vararrays
func_end_table
func_echo "$element"
func_begin_table
+ func_module stdio
func_module snprintf
func_module vsnprintf
func_end_table
func_echo "$element"
func_begin_table
+ func_module imaxabs
+ func_module imaxdiv
+ func_module inttypes
func_module strtoimax
func_module strtoumax
func_end_table
func_module wctype
func_end_table
+ element="Characteristics of floating types <float.h>"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap isoc_sup_float
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module float
+ func_end_table
+
element="Mathematics <math.h>"
element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
func_section_wrap isoc_sup_math
func_echo "$element"
func_begin_table
+ func_module ceilf
+ func_module ceill
+ func_module floorf
+ func_module floorl
+ func_module frexp
+ func_module frexpl
+ func_module frexpl-nolibm
+ func_module isfinite
+ func_module isnan-nolibm
+ func_module isnanf-nolibm
+ func_module isnanl
+ func_module isnanl-nolibm
+ func_module ldexpl
+ func_module math
func_module mathl
+ func_module round
+ func_module roundf
+ func_module roundl
+ func_module signbit
+ func_module trunc
+ func_module truncf
+ func_module truncl
func_end_table
element="Enhancements for ISO C 99 functions"
func_wrap H2
func_echo "$element"
+ element="Input/output <stdio.h>"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap isoc_enh_stdio
+ func_wrap H3
+ func_echo "$element"
+
func_begin_table
+ func_module printf-safe
func_end_table
element="Extra functions based on ISO C 99"
func_wrap H2
func_echo "$element"
+ element="Mathematics <math.h>"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap isoc_ext_math
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module printf-frexpl
+ func_end_table
+
element="Numeric conversion functions <stdlib.h>"
element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
func_section_wrap isoc_ext_stdlib_conv
func_echo "$element"
func_begin_table
+ func_module arpa_inet
+ func_module calloc-posix
func_module chown
func_module dup2
func_module fchdir
+ func_module fcntl
+ func_module fopen
+ func_module fprintf-posix
+ func_module freopen
+ func_module fseek
+ func_module fseeko
+ func_module ftell
+ func_module ftello
func_module ftruncate
func_module getaddrinfo
func_module getcwd
func_module getlogin_r
func_module getsubopt
func_module gettimeofday
+ func_module iconv_open
func_module inet_ntop
func_module inet_pton
+ func_module locale
+ func_module lseek
+ func_module lstat
+ func_module malloc-posix
func_module mkdir
func_module mkdtemp
func_module mkstemp
+ func_module netinet_in
+ func_module open
func_module poll
+ func_module printf-posix
func_module readlink
- func_module lstat
+ func_module realloc-posix
+ func_module signal
+ func_module sleep
+ func_module snprintf-posix
+ func_module sprintf-posix
+ func_module string
func_module tempname
+ func_module time
func_module time_r
func_module timespec
func_module nanosleep
func_module regex
func_module rename
func_module rmdir
+ func_module search
func_module sigprocmask
+ func_module socklen
func_module ssize_t
func_module strptime
func_module strtok_r
+ func_module sys_select
+ func_module sys_socket
func_module sys_stat
func_module sys_time
func_module tsearch
func_module unistd
func_module utime
+ func_module vasnprintf-posix
+ func_module vasprintf-posix
+ func_module vfprintf-posix
+ func_module vprintf-posix
+ func_module vsnprintf-posix
+ func_module vsprintf-posix
func_module wcwidth
func_end_table
func_echo "$element"
func_begin_table
+ func_module clock-time
func_module d-ino
func_module d-type
func_module link-follow
func_echo "$element"
func_begin_table
+ func_module chdir-long
func_module dirname
func_module getopt
func_module unistd-safer
func_begin_table
func_module acl
+ func_module areadlink
+ func_module areadlink-with-size
func_module backupfile
func_module canonicalize
func_module canonicalize-lgpl
+ func_module chdir-safer
func_module clean-temp
func_module copy-file
- func_module cycle-check
func_module fsusage
func_module dirfd
func_module double-slash-root
func_module file-type
func_module fileblocks
func_module filemode
+ func_module filename
func_module filenamecat
func_module fts
func_module fts-lgpl
func_module modechange
func_module mountlist
func_module openat
- func_module pathname
func_module pathmax
+ func_module read-file
func_module same
func_module save-cwd
func_module savedir
func_module unlinkdir
func_module utimecmp
func_module utimens
+ func_module write-any-file
func_module xgetcwd
func_module xreadlink
func_end_table
+ element="File system as inode set"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap posix_ext_inodeset
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module cycle-check
+ func_module dev-ino
+ func_module file-set
+ func_module hash-triple
+ func_module i-ring
+ func_module same-inode
+ func_end_table
+
element="File descriptor based Input/Output"
element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
func_section_wrap posix_ext_filedesc
func_begin_table
func_module close-stream
+ func_module closein
func_module closeout
+ func_module fbufmode
func_module fopen-safer
func_module fpending
+ func_module fpurge
+ func_module freadable
+ func_module freadahead
+ func_module freading
+ func_module fwritable
+ func_module fwriting
func_module getpass
func_module getpass-gnu
func_module stdlib-safer
func_echo "$element"
func_begin_table
+ func_module gethrxtime
func_module gettime
func_module settime
func_module posixtm
func_begin_table
func_module lock
func_module tls
+ func_module openmp
func_end_table
element="Internationalization functions"
func_module xstriconv
func_module striconveh
func_module striconveha
- func_module iconvme
func_module localcharset
func_module hard-locale
+ func_module localename
func_module mbslen
+ func_module mbsnlen
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 unistr/u8-mblen
func_module unistr/u16-mblen
func_module unistr/u32-mblen
+ func_module unistr/u8-mbsnlen
+ func_module unistr/u16-mbsnlen
+ func_module unistr/u32-mbsnlen
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-mbtoucr
+ func_module unistr/u16-mbtoucr
+ func_module unistr/u32-mbtoucr
func_module unistr/u8-move
func_module unistr/u16-move
func_module unistr/u32-move
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-conv-to-enc
+ func_module uniconv/u16-conv-to-enc
+ func_module uniconv/u32-conv-to-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-locale
func_module uniconv/u16-strconv-to-locale
func_module uniconv/u32-strconv-to-locale
+ func_module unistdio/base
+ func_module unistdio/u-printf-args
+ func_module unistdio/ulc-asnprintf
+ func_module unistdio/ulc-asprintf
+ func_module unistdio/ulc-fprintf
+ func_module unistdio/ulc-printf-parse
+ func_module unistdio/ulc-snprintf
+ func_module unistdio/ulc-sprintf
+ func_module unistdio/ulc-vasnprintf
+ func_module unistdio/ulc-vasprintf
+ func_module unistdio/ulc-vfprintf
+ func_module unistdio/ulc-vsnprintf
+ func_module unistdio/ulc-vsprintf
+ func_module unistdio/u8-asnprintf
+ func_module unistdio/u8-asprintf
+ func_module unistdio/u8-printf-parse
+ func_module unistdio/u8-snprintf
+ func_module unistdio/u8-sprintf
+ func_module unistdio/u8-vasnprintf
+ func_module unistdio/u8-vasprintf
+ func_module unistdio/u8-vsnprintf
+ func_module unistdio/u8-vsprintf
+ func_module unistdio/u8-u8-asnprintf
+ func_module unistdio/u8-u8-asprintf
+ func_module unistdio/u8-u8-snprintf
+ func_module unistdio/u8-u8-sprintf
+ func_module unistdio/u8-u8-vasnprintf
+ func_module unistdio/u8-u8-vasprintf
+ func_module unistdio/u8-u8-vsnprintf
+ func_module unistdio/u8-u8-vsprintf
+ func_module unistdio/u16-asnprintf
+ func_module unistdio/u16-asprintf
+ func_module unistdio/u16-printf-parse
+ func_module unistdio/u16-snprintf
+ func_module unistdio/u16-sprintf
+ func_module unistdio/u16-vasnprintf
+ func_module unistdio/u16-vasprintf
+ func_module unistdio/u16-vsnprintf
+ func_module unistdio/u16-vsprintf
+ func_module unistdio/u16-u16-asnprintf
+ func_module unistdio/u16-u16-asprintf
+ func_module unistdio/u16-u16-snprintf
+ func_module unistdio/u16-u16-sprintf
+ func_module unistdio/u16-u16-vasnprintf
+ func_module unistdio/u16-u16-vasprintf
+ func_module unistdio/u16-u16-vsnprintf
+ func_module unistdio/u16-u16-vsprintf
+ func_module unistdio/u32-asnprintf
+ func_module unistdio/u32-asprintf
+ func_module unistdio/u32-printf-parse
+ func_module unistdio/u32-snprintf
+ func_module unistdio/u32-sprintf
+ func_module unistdio/u32-vasnprintf
+ func_module unistdio/u32-vasprintf
+ func_module unistdio/u32-vsnprintf
+ func_module unistdio/u32-vsprintf
+ func_module unistdio/u32-u32-asnprintf
+ func_module unistdio/u32-u32-asprintf
+ func_module unistdio/u32-u32-snprintf
+ func_module unistdio/u32-u32-sprintf
+ func_module unistdio/u32-u32-vasnprintf
+ func_module unistdio/u32-u32-vasprintf
+ func_module unistdio/u32-u32-vsnprintf
+ func_module unistdio/u32-u32-vsprintf
+ func_module uniname/base
+ func_module uniname/uniname
+ func_module uniwidth/base
+ func_module uniwidth/u8-strwidth
+ func_module uniwidth/u8-width
+ func_module uniwidth/u16-strwidth
+ func_module uniwidth/u16-width
+ func_module uniwidth/u32-strwidth
+ func_module uniwidth/u32-width
+ func_module uniwidth/width
func_end_table
element="Executing programs"
func_begin_table
func_module classpath
+ func_module javacomp-script
func_module javacomp
+ func_module javaexec-script
func_module javaexec
func_module javaversion
#func_module gcj
func_echo "$element"
func_begin_table
+ func_module csharpcomp-script
func_module csharpcomp
+ func_module csharpexec-script
func_module csharpexec
func_end_table
func_module configmake
func_module dummy
func_module elisp-comp
+ func_module havelib
+ func_module include_next
func_module ldd
func_module lib-ignore
+ func_module link-warning
func_module no-c++
+ func_module relocatable-lib
+ func_module relocatable-lib-lgpl
+ func_module relocatable-prog
+ func_module relocatable-prog-wrapper
+ func_module relocatable-script
func_end_table
element="Support for building documentation"
func_begin_table
func_module fdl
func_module gendocs
- func_module gpl
- func_module lgpl
+ func_module gpl-2.0
+ func_module gpl-3.0
+ func_module lgpl-2.1
func_module regexprops-generic
func_end_table
- element="Support for maintaining and release projects"
+ element="Support for maintaining and releasing projects"
func_section_wrap maintain
func_wrap H2
func_echo "$element"
func_begin_table
+ func_module announce-gen
+ func_module autobuild
+ func_module git-version-gen
func_module gnupload
func_module maintainer-makefile
func_end_table
func_echo "$element"
func_begin_table
+ func_module gnu-make
func_module host-os
func_module perl
+ func_module posix-shell
func_module uptime
func_end_table
}
fi
-LC_ALL=C ls -d lib/* m4/* | sed -e /CVS/d -e /README/d -e /ChangeLog/d -e /Makefile/d -e /TODO/d -e '/tags$/d' -e '/TAGS$/d' -e '/~$/d' > "$tmp/all-files"
+{ find lib -type f -print; find m4 -type f -print; } | LC_ALL=C sort | sed -e '/\/\./d' -e /CVS/d -e /README/d -e /ChangeLog/d -e /Makefile/d -e /TODO/d -e '/tags$/d' -e '/TAGS$/d' -e '/~$/d' > "$tmp/all-files"
missed_files=`for file in $seen_files; do echo $file; done \
| LC_ALL=C sort -u \
| LC_ALL=C join -v 2 - "$tmp/all-files"`