There is no POSIX function called 'contents'.
[pspp] / MODULES.html.sh
1 #!/bin/sh
2 #
3 # Copyright (C) 2002-2007 Free Software Foundation, Inc.
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
8 # any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 #
19
20 # Usage: MODULES.html.sh [--cvs-urls|--git-urls] > MODULES.html
21
22 # Extend the PATH so that gnulib-tool is found.
23 PATH=`dirname "$0"`:$PATH; export PATH
24
25 POSIX2001_URL='http://www.opengroup.org/susv3'
26 case $USER in
27   bruno )
28     POSIX2001_URL='file:/packages/www/www.opengroup.org/susv3' ;;
29 esac
30
31 repo_url_prefix=
32 repo_url_suffix=
33 if test $# != 0; then
34   case "$1" in
35     --cvs-urls)
36       # Generate URLs to the official gnulib CVS repository.
37       repo_url_prefix='http://cvs.sv.gnu.org/viewcvs/*checkout*/gnulib/'
38       repo_url_suffix='?root=gnulib&content-type=text/plain'
39       ;;
40     --git-urls)
41       # Generate URLs to the official gnulib git repository.
42       repo_url_prefix='http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f='
43       repo_url_suffix=''
44       ;;
45   esac
46 fi
47 # For sed replacements: Escape the '&'.
48 repo_url_suffix_repl=`echo "$repo_url_suffix" | sed -e 's,[&],\\\&,'`
49
50 sed_lt='s,<,\&lt;,g'
51 sed_gt='s,>,\&gt;,g'
52 sed_escape_dot='s,\.,\\.,g'
53 sed_escape_slash='s,/,\\/,g'
54 trnl='\012'
55 sed_alt1='s,$,\\|,'
56 sed_alt2='s,^\\|,\\(,'
57 sed_alt3='s,\\|\\|$,\\),'
58 posix_headers=`echo '
59 aio
60 arpa/inet
61 assert
62 complex
63 cpio
64 ctype
65 dirent
66 dlfcn
67 errno
68 fcntl
69 fenv
70 float
71 fmtmsg
72 fnmatch
73 ftw
74 glob
75 grp
76 iconv
77 inttypes
78 iso646
79 langinfo
80 libgen
81 limits
82 locale
83 math
84 monetary
85 mqueue
86 ndbm
87 net/if
88 netdb
89 netinet/in
90 netinet/tcp
91 nl_types
92 poll
93 pthread
94 pwd
95 regex
96 sched
97 search
98 semaphore
99 setjmp
100 signal
101 spawn
102 stdarg
103 stdbool
104 stddef
105 stdint
106 stdio
107 stdlib
108 string
109 strings
110 stropts
111 sys/ipc
112 sys/mman
113 sys/msg
114 sys/resource
115 sys/select
116 sys/sem
117 sys/shm
118 sys/socket
119 sys/stat
120 sys/statvfs
121 sys/time
122 sys/timeb
123 sys/times
124 sys/types
125 sys/uio
126 sys/un
127 sys/utsname
128 sys/wait
129 syslog
130 tar
131 termios
132 tgmath
133 time
134 trace
135 ucontext
136 ulimit
137 unistd
138 utime
139 utmpx
140 wchar
141 wctype
142 wordexp
143 ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
144 posix_functions=`echo '
145 FD_CLR
146 FD_ISSET
147 FD_SET
148 FD_ZERO
149 _Exit
150 _exit
151 _longjmp
152 _setjmp
153 _tolower
154 _toupper
155 a64l
156 abort
157 abs
158 accept
159 access
160 acos
161 acosf
162 acosh
163 acoshf
164 acoshl
165 acosl
166 aio_cancel
167 aio_error
168 aio_fsync
169 aio_read
170 aio_return
171 aio_suspend
172 aio_write
173 alarm
174 asctime
175 asctime_r
176 asin
177 asinf
178 asinh
179 asinhf
180 asinhl
181 asinl
182 assert
183 atan
184 atan2
185 atan2f
186 atan2l
187 atanf
188 atanh
189 atanhf
190 atanhl
191 atanl
192 atexit
193 atof
194 atoi
195 atol
196 atoll
197 basename
198 bcmp
199 bcopy
200 bind
201 bsd_signal
202 bsearch
203 btowc
204 bzero
205 cabs
206 cabsf
207 cabsl
208 cacos
209 cacosf
210 cacosh
211 cacoshf
212 cacoshl
213 cacosl
214 calloc
215 carg
216 cargf
217 cargl
218 casin
219 casinf
220 casinh
221 casinhf
222 casinhl
223 casinl
224 catan
225 catanf
226 catanh
227 catanhf
228 catanhl
229 catanl
230 catclose
231 catgets
232 catopen
233 cbrt
234 cbrtf
235 cbrtl
236 ccos
237 ccosf
238 ccosh
239 ccoshf
240 ccoshl
241 ccosl
242 ceil
243 ceilf
244 ceill
245 cexp
246 cexpf
247 cexpl
248 cfgetispeed
249 cfgetospeed
250 cfsetispeed
251 cfsetospeed
252 chdir
253 chmod
254 chown
255 cimag
256 cimagf
257 cimagl
258 clearerr
259 clock
260 clock_getcpuclockid
261 clock_getres
262 clock_gettime
263 clock_nanosleep
264 clock_settime
265 clog
266 clogf
267 clogl
268 close
269 closedir
270 closelog
271 confstr
272 conj
273 conjf
274 conjl
275 connect
276 copysign
277 copysignf
278 copysignl
279 cos
280 cosf
281 cosh
282 coshf
283 coshl
284 cosl
285 cpow
286 cpowf
287 cpowl
288 cproj
289 cprojf
290 cprojl
291 creal
292 crealf
293 creall
294 creat
295 crypt
296 csin
297 csinf
298 csinh
299 csinhf
300 csinhl
301 csinl
302 csqrt
303 csqrtf
304 csqrtl
305 ctan
306 ctanf
307 ctanh
308 ctanhf
309 ctanhl
310 ctanl
311 ctermid
312 ctime
313 ctime_r
314 daylight
315 dbm_clearerr
316 dbm_close
317 dbm_delete
318 dbm_error
319 dbm_fetch
320 dbm_firstkey
321 dbm_nextkey
322 dbm_open
323 dbm_store
324 difftime
325 dirname
326 div
327 dlclose
328 dlerror
329 dlopen
330 dlsym
331 drand48
332 dup
333 dup2
334 ecvt
335 encrypt
336 endgrent
337 endhostent
338 endnetent
339 endprotoent
340 endpwent
341 endservent
342 endutxent
343 environ
344 erand48
345 erf
346 erfc
347 erfcf
348 erfcl
349 erff
350 erfl
351 errno
352 exec
353 execl
354 execle
355 execlp
356 execv
357 execve
358 execvp
359 exit
360 exp
361 exp2
362 exp2f
363 exp2l
364 expf
365 expl
366 expm1
367 expm1f
368 expm1l
369 fabs
370 fabsf
371 fabsl
372 fattach
373 fchdir
374 fchmod
375 fchown
376 fclose
377 fcntl
378 fcvt
379 fdatasync
380 fdetach
381 fdim
382 fdimf
383 fdiml
384 fdopen
385 feclearexcept
386 fegetenv
387 fegetexceptflag
388 fegetround
389 feholdexcept
390 feof
391 feraiseexcept
392 ferror
393 fesetenv
394 fesetexceptflag
395 fesetround
396 fetestexcept
397 feupdateenv
398 fflush
399 ffs
400 fgetc
401 fgetpos
402 fgets
403 fgetwc
404 fgetws
405 fileno
406 flockfile
407 floor
408 floorf
409 floorl
410 fma
411 fmaf
412 fmal
413 fmax
414 fmaxf
415 fmaxl
416 fmin
417 fminf
418 fminl
419 fmod
420 fmodf
421 fmodl
422 fmtmsg
423 fnmatch
424 fopen
425 fork
426 fpathconf
427 fpclassify
428 fprintf
429 fputc
430 fputs
431 fputwc
432 fputws
433 fread
434 free
435 freeaddrinfo
436 freopen
437 frexp
438 frexpf
439 frexpl
440 fscanf
441 fseek
442 fseeko
443 fsetpos
444 fstat
445 fstatvfs
446 fsync
447 ftell
448 ftello
449 ftime
450 ftok
451 ftruncate
452 ftrylockfile
453 ftw
454 funlockfile
455 fwide
456 fwprintf
457 fwrite
458 fwscanf
459 gai_strerror
460 gcvt
461 getaddrinfo
462 getc
463 getc_unlocked
464 getchar
465 getchar_unlocked
466 getcontext
467 getcwd
468 getdate
469 getegid
470 getenv
471 geteuid
472 getgid
473 getgrent
474 getgrgid
475 getgrgid_r
476 getgrnam
477 getgrnam_r
478 getgroups
479 gethostbyaddr
480 gethostbyname
481 gethostent
482 gethostid
483 gethostname
484 getitimer
485 getlogin
486 getlogin_r
487 getmsg
488 getnameinfo
489 getnetbyaddr
490 getnetbyname
491 getnetent
492 getopt
493 getpeername
494 getpgid
495 getpgrp
496 getpid
497 getpmsg
498 getppid
499 getpriority
500 getprotobyname
501 getprotobynumber
502 getprotoent
503 getpwent
504 getpwnam
505 getpwnam_r
506 getpwuid
507 getpwuid_r
508 getrlimit
509 getrusage
510 gets
511 getservbyname
512 getservbyport
513 getservent
514 getsid
515 getsockname
516 getsockopt
517 getsubopt
518 gettimeofday
519 getuid
520 getutxent
521 getutxid
522 getutxline
523 getwc
524 getwchar
525 getwd
526 glob
527 globfree
528 gmtime
529 gmtime_r
530 grantpt
531 h_errno
532 hcreate
533 hdestroy
534 hsearch
535 htonl
536 htons
537 hypot
538 hypotf
539 hypotl
540 iconv
541 iconv_close
542 iconv_open
543 if_freenameindex
544 if_indextoname
545 if_nameindex
546 if_nametoindex
547 ilogb
548 ilogbf
549 ilogbl
550 imaxabs
551 imaxdiv
552 index
553 inet_addr
554 inet_ntoa
555 inet_ntop
556 inet_pton
557 initstate
558 insque
559 ioctl
560 isalnum
561 isalpha
562 isascii
563 isastream
564 isatty
565 isblank
566 iscntrl
567 isdigit
568 isfinite
569 isgraph
570 isgreater
571 isgreaterequal
572 isinf
573 isless
574 islessequal
575 islessgreater
576 islower
577 isnan
578 isnormal
579 isprint
580 ispunct
581 isspace
582 isunordered
583 isupper
584 iswalnum
585 iswalpha
586 iswblank
587 iswcntrl
588 iswctype
589 iswdigit
590 iswgraph
591 iswlower
592 iswprint
593 iswpunct
594 iswspace
595 iswupper
596 iswxdigit
597 isxdigit
598 j0
599 j1
600 jn
601 jrand48
602 kill
603 killpg
604 l64a
605 labs
606 lchown
607 lcong48
608 ldexp
609 ldexpf
610 ldexpl
611 ldiv
612 lfind
613 lgamma
614 lgammaf
615 lgammal
616 link
617 lio_listio
618 listen
619 llabs
620 lldiv
621 llrint
622 llrintf
623 llrintl
624 llround
625 llroundf
626 llroundl
627 localeconv
628 localtime
629 localtime_r
630 lockf
631 log
632 log10
633 log10f
634 log10l
635 log1p
636 log1pf
637 log1pl
638 log2
639 log2f
640 log2l
641 logb
642 logbf
643 logbl
644 logf
645 logl
646 longjmp
647 lrand48
648 lrint
649 lrintf
650 lrintl
651 lround
652 lroundf
653 lroundl
654 lsearch
655 lseek
656 lstat
657 makecontext
658 malloc
659 mblen
660 mbrlen
661 mbrtowc
662 mbsinit
663 mbsrtowcs
664 mbstowcs
665 mbtowc
666 memccpy
667 memchr
668 memcmp
669 memcpy
670 memmove
671 memset
672 mkdir
673 mkfifo
674 mknod
675 mkstemp
676 mktemp
677 mktime
678 mlock
679 mlockall
680 mmap
681 modf
682 modff
683 modfl
684 mprotect
685 mq_close
686 mq_getattr
687 mq_notify
688 mq_open
689 mq_receive
690 mq_send
691 mq_setattr
692 mq_timedreceive
693 mq_timedsend
694 mq_unlink
695 mrand48
696 msgctl
697 msgget
698 msgrcv
699 msgsnd
700 msync
701 munlock
702 munlockall
703 munmap
704 nan
705 nanf
706 nanl
707 nanosleep
708 nearbyint
709 nearbyintf
710 nearbyintl
711 nextafter
712 nextafterf
713 nextafterl
714 nexttoward
715 nexttowardf
716 nexttowardl
717 nftw
718 nice
719 nl_langinfo
720 nrand48
721 ntohl
722 ntohs
723 open
724 opendir
725 openlog
726 optarg
727 pathconf
728 pause
729 pclose
730 perror
731 pipe
732 poll
733 popen
734 posix_fadvise
735 posix_fallocate
736 posix_madvise
737 posix_mem_offset
738 posix_memalign
739 posix_openpt
740 posix_spawn
741 posix_spawn_file_actions_addclose
742 posix_spawn_file_actions_adddup2
743 posix_spawn_file_actions_addopen
744 posix_spawn_file_actions_destroy
745 posix_spawn_file_actions_init
746 posix_spawnattr_destroy
747 posix_spawnattr_getflags
748 posix_spawnattr_getpgroup
749 posix_spawnattr_getschedparam
750 posix_spawnattr_getschedpolicy
751 posix_spawnattr_getsigdefault
752 posix_spawnattr_getsigmask
753 posix_spawnattr_init
754 posix_spawnattr_setflags
755 posix_spawnattr_setpgroup
756 posix_spawnattr_setschedparam
757 posix_spawnattr_setschedpolicy
758 posix_spawnattr_setsigdefault
759 posix_spawnattr_setsigmask
760 posix_spawnp
761 posix_trace_attr_destroy
762 posix_trace_attr_getclockres
763 posix_trace_attr_getcreatetime
764 posix_trace_attr_getgenversion
765 posix_trace_attr_getinherited
766 posix_trace_attr_getlogfullpolicy
767 posix_trace_attr_getlogsize
768 posix_trace_attr_getmaxdatasize
769 posix_trace_attr_getmaxsystemeventsize
770 posix_trace_attr_getmaxusereventsize
771 posix_trace_attr_getname
772 posix_trace_attr_getstreamfullpolicy
773 posix_trace_attr_getstreamsize
774 posix_trace_attr_init
775 posix_trace_attr_setinherited
776 posix_trace_attr_setlogfullpolicy
777 posix_trace_attr_setlogsize
778 posix_trace_attr_setmaxdatasize
779 posix_trace_attr_setname
780 posix_trace_attr_setstreamfullpolicy
781 posix_trace_attr_setstreamsize
782 posix_trace_clear
783 posix_trace_close
784 posix_trace_create
785 posix_trace_create_withlog
786 posix_trace_event
787 posix_trace_eventid_equal
788 posix_trace_eventid_get_name
789 posix_trace_eventid_open
790 posix_trace_eventset_add
791 posix_trace_eventset_del
792 posix_trace_eventset_empty
793 posix_trace_eventset_fill
794 posix_trace_eventset_ismember
795 posix_trace_eventtypelist_getnext_id
796 posix_trace_eventtypelist_rewind
797 posix_trace_flush
798 posix_trace_get_attr
799 posix_trace_get_filter
800 posix_trace_get_status
801 posix_trace_getnext_event
802 posix_trace_open
803 posix_trace_rewind
804 posix_trace_set_filter
805 posix_trace_shutdown
806 posix_trace_start
807 posix_trace_stop
808 posix_trace_timedgetnext_event
809 posix_trace_trid_eventid_open
810 posix_trace_trygetnext_event
811 posix_typed_mem_get_info
812 posix_typed_mem_open
813 pow
814 powf
815 powl
816 pread
817 printf
818 pselect
819 pthread_atfork
820 pthread_attr_destroy
821 pthread_attr_getdetachstate
822 pthread_attr_getguardsize
823 pthread_attr_getinheritsched
824 pthread_attr_getschedparam
825 pthread_attr_getschedpolicy
826 pthread_attr_getscope
827 pthread_attr_getstack
828 pthread_attr_getstackaddr
829 pthread_attr_getstacksize
830 pthread_attr_init
831 pthread_attr_setdetachstate
832 pthread_attr_setguardsize
833 pthread_attr_setinheritsched
834 pthread_attr_setschedparam
835 pthread_attr_setschedpolicy
836 pthread_attr_setscope
837 pthread_attr_setstack
838 pthread_attr_setstackaddr
839 pthread_attr_setstacksize
840 pthread_barrier_destroy
841 pthread_barrier_init
842 pthread_barrier_wait
843 pthread_barrierattr_destroy
844 pthread_barrierattr_getpshared
845 pthread_barrierattr_init
846 pthread_barrierattr_setpshared
847 pthread_cancel
848 pthread_cleanup_pop
849 pthread_cleanup_push
850 pthread_cond_broadcast
851 pthread_cond_destroy
852 pthread_cond_init
853 pthread_cond_signal
854 pthread_cond_timedwait
855 pthread_cond_wait
856 pthread_condattr_destroy
857 pthread_condattr_getclock
858 pthread_condattr_getpshared
859 pthread_condattr_init
860 pthread_condattr_setclock
861 pthread_condattr_setpshared
862 pthread_create
863 pthread_detach
864 pthread_equal
865 pthread_exit
866 pthread_getconcurrency
867 pthread_getcpuclockid
868 pthread_getschedparam
869 pthread_getspecific
870 pthread_join
871 pthread_key_create
872 pthread_key_delete
873 pthread_kill
874 pthread_mutex_destroy
875 pthread_mutex_getprioceiling
876 pthread_mutex_init
877 pthread_mutex_lock
878 pthread_mutex_setprioceiling
879 pthread_mutex_timedlock
880 pthread_mutex_trylock
881 pthread_mutex_unlock
882 pthread_mutexattr_destroy
883 pthread_mutexattr_getprioceiling
884 pthread_mutexattr_getprotocol
885 pthread_mutexattr_getpshared
886 pthread_mutexattr_gettype
887 pthread_mutexattr_init
888 pthread_mutexattr_setprioceiling
889 pthread_mutexattr_setprotocol
890 pthread_mutexattr_setpshared
891 pthread_mutexattr_settype
892 pthread_once
893 pthread_rwlock_destroy
894 pthread_rwlock_init
895 pthread_rwlock_rdlock
896 pthread_rwlock_timedrdlock
897 pthread_rwlock_timedwrlock
898 pthread_rwlock_tryrdlock
899 pthread_rwlock_trywrlock
900 pthread_rwlock_unlock
901 pthread_rwlock_wrlock
902 pthread_rwlockattr_destroy
903 pthread_rwlockattr_getpshared
904 pthread_rwlockattr_init
905 pthread_rwlockattr_setpshared
906 pthread_self
907 pthread_setcancelstate
908 pthread_setcanceltype
909 pthread_setconcurrency
910 pthread_setschedparam
911 pthread_setschedprio
912 pthread_setspecific
913 pthread_sigmask
914 pthread_spin_destroy
915 pthread_spin_init
916 pthread_spin_lock
917 pthread_spin_trylock
918 pthread_spin_unlock
919 pthread_testcancel
920 ptsname
921 putc
922 putc_unlocked
923 putchar
924 putchar_unlocked
925 putenv
926 putmsg
927 putpmsg
928 puts
929 pututxline
930 putwc
931 putwchar
932 pwrite
933 qsort
934 raise
935 rand
936 rand_r
937 random
938 read
939 readdir
940 readdir_r
941 readlink
942 readv
943 realloc
944 realpath
945 recv
946 recvfrom
947 recvmsg
948 regcomp
949 regerror
950 regexec
951 regfree
952 remainder
953 remainderf
954 remainderl
955 remove
956 remque
957 remquo
958 remquof
959 remquol
960 rename
961 rewind
962 rewinddir
963 rindex
964 rint
965 rintf
966 rintl
967 rmdir
968 round
969 roundf
970 roundl
971 scalb
972 scalbln
973 scalblnf
974 scalblnl
975 scalbn
976 scalbnf
977 scalbnl
978 scanf
979 sched_get_priority_max
980 sched_getparam
981 sched_getscheduler
982 sched_rr_get_interval
983 sched_setparam
984 sched_setscheduler
985 sched_yield
986 seed48
987 seekdir
988 select
989 sem_close
990 sem_destroy
991 sem_getvalue
992 sem_init
993 sem_open
994 sem_post
995 sem_timedwait
996 sem_trywait
997 sem_unlink
998 sem_wait
999 semctl
1000 semget
1001 semop
1002 send
1003 sendmsg
1004 sendto
1005 setbuf
1006 setcontext
1007 setegid
1008 setenv
1009 seteuid
1010 setgid
1011 setgrent
1012 sethostent
1013 setitimer
1014 setjmp
1015 setkey
1016 setlocale
1017 setlogmask
1018 setnetent
1019 setpgid
1020 setpgrp
1021 setpriority
1022 setprotoent
1023 setpwent
1024 setregid
1025 setreuid
1026 setrlimit
1027 setservent
1028 setsid
1029 setsockopt
1030 setstate
1031 setuid
1032 setutxent
1033 setvbuf
1034 shm_open
1035 shm_unlink
1036 shmat
1037 shmctl
1038 shmdt
1039 shmget
1040 shutdown
1041 sigaction
1042 sigaddset
1043 sigaltstack
1044 sigdelset
1045 sigemptyset
1046 sigfillset
1047 sighold
1048 sigignore
1049 siginterrupt
1050 sigismember
1051 siglongjmp
1052 signal
1053 signbit
1054 sigpause
1055 sigpending
1056 sigprocmask
1057 sigqueue
1058 sigrelse
1059 sigset
1060 sigsetjmp
1061 sigsuspend
1062 sigtimedwait
1063 sigwait
1064 sigwaitinfo
1065 sin
1066 sinf
1067 sinh
1068 sinhf
1069 sinhl
1070 sinl
1071 sleep
1072 snprintf
1073 sockatmark
1074 socket
1075 socketpair
1076 sprintf
1077 sqrt
1078 sqrtf
1079 sqrtl
1080 srand
1081 srand48
1082 srandom
1083 sscanf
1084 stat
1085 statvfs
1086 stdin
1087 strcasecmp
1088 strcat
1089 strchr
1090 strcmp
1091 strcoll
1092 strcpy
1093 strcspn
1094 strdup
1095 strerror
1096 strerror_r
1097 strfmon
1098 strftime
1099 strlen
1100 strncasecmp
1101 strncat
1102 strncmp
1103 strncpy
1104 strpbrk
1105 strptime
1106 strrchr
1107 strspn
1108 strstr
1109 strtod
1110 strtof
1111 strtoimax
1112 strtok
1113 strtok_r
1114 strtol
1115 strtold
1116 strtoll
1117 strtoul
1118 strtoull
1119 strtoumax
1120 strxfrm
1121 swab
1122 swapcontext
1123 swprintf
1124 swscanf
1125 symlink
1126 sync
1127 sysconf
1128 syslog
1129 system
1130 tan
1131 tanf
1132 tanh
1133 tanhf
1134 tanhl
1135 tanl
1136 tcdrain
1137 tcflow
1138 tcflush
1139 tcgetattr
1140 tcgetpgrp
1141 tcgetsid
1142 tcsendbreak
1143 tcsetattr
1144 tcsetpgrp
1145 tdelete
1146 telldir
1147 tempnam
1148 tfind
1149 tgamma
1150 tgammaf
1151 tgammal
1152 time
1153 timer_create
1154 timer_delete
1155 timer_getoverrun
1156 timer_settime
1157 times
1158 timezone
1159 tmpfile
1160 tmpnam
1161 toascii
1162 toc
1163 tolower
1164 toupper
1165 towctrans
1166 towlower
1167 towupper
1168 trunc
1169 truncate
1170 truncf
1171 truncl
1172 tsearch
1173 ttyname
1174 ttyname_r
1175 twalk
1176 tzname
1177 tzset
1178 ualarm
1179 ulimit
1180 umask
1181 uname
1182 ungetc
1183 ungetwc
1184 unlink
1185 unlockpt
1186 unsetenv
1187 usleep
1188 utime
1189 utimes
1190 va_arg
1191 va_copy
1192 va_end
1193 va_start
1194 vfork
1195 vfprintf
1196 vfscanf
1197 vfwprintf
1198 vfwscanf
1199 vprintf
1200 vscanf
1201 vsnprintf
1202 vsprintf
1203 vsscanf
1204 vswprintf
1205 vswscanf
1206 vwprintf
1207 vwscanf
1208 wait
1209 waitid
1210 waitpid
1211 wcrtomb
1212 wcscat
1213 wcschr
1214 wcscmp
1215 wcscoll
1216 wcscpy
1217 wcscspn
1218 wcsftime
1219 wcslen
1220 wcsncat
1221 wcsncmp
1222 wcsncpy
1223 wcspbrk
1224 wcsrchr
1225 wcsrtombs
1226 wcsspn
1227 wcsstr
1228 wcstod
1229 wcstof
1230 wcstoimax
1231 wcstok
1232 wcstol
1233 wcstold
1234 wcstoll
1235 wcstombs
1236 wcstoul
1237 wcstoull
1238 wcstoumax
1239 wcswcs
1240 wcswidth
1241 wcsxfrm
1242 wctob
1243 wctomb
1244 wctrans
1245 wctype
1246 wcwidth
1247 wmemchr
1248 wmemcmp
1249 wmemcpy
1250 wmemmove
1251 wmemset
1252 wordexp
1253 wordfree
1254 wprintf
1255 write
1256 writev
1257 wscanf
1258 y0
1259 y1
1260 yn
1261 ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
1262
1263 indent=""
1264 seen_modules=
1265 seen_files=
1266
1267 # func_exit STATUS
1268 # exit with status
1269 func_exit ()
1270 {
1271   (exit $1); exit $1
1272 }
1273
1274 # func_tmpdir
1275 # creates a temporary directory.
1276 # Sets variable
1277 # - tmp             pathname of freshly created temporary directory
1278 func_tmpdir ()
1279 {
1280   # Use the environment variable TMPDIR, falling back to /tmp. This allows
1281   # users to specify a different temporary directory, for example, if their
1282   # /tmp is filled up or too small.
1283   : ${TMPDIR=/tmp}
1284   {
1285     # Use the mktemp program if available. If not available, hide the error
1286     # message.
1287     tmp=`(umask 077 && mktemp -d "$TMPDIR/MDXXXXXX") 2>/dev/null` &&
1288     test -n "$tmp" && test -d "$tmp"
1289   } ||
1290   {
1291     # Use a simple mkdir command. It is guaranteed to fail if the directory
1292     # already exists.  $RANDOM is bash specific and expands to empty in shells
1293     # other than bash, ksh and zsh.  Its use does not increase security;
1294     # rather, it minimizes the probability of failure in a very cluttered /tmp
1295     # directory.
1296     tmp=$TMPDIR/MD$$-$RANDOM
1297     (umask 077 && mkdir "$tmp")
1298   } ||
1299   {
1300     echo "$0: cannot create a temporary directory in $TMPDIR" >&2
1301     func_exit 1
1302   }
1303 }
1304
1305 # func_append var value
1306 # appends the given value to the shell variable var.
1307 if ( foo=bar; foo+=baz && test "$foo" = barbaz ) >/dev/null 2>&1; then
1308   # Use bash's += operator. It reduces complexity of appending repeatedly to
1309   # a single variable from O(n^2) to O(n).
1310   func_append ()
1311   {
1312     eval "$1+=\"\$2\""
1313   }
1314 else
1315   func_append ()
1316   {
1317     eval "$1=\"\$$1\$2\""
1318   }
1319 fi
1320
1321 # func_echo line
1322 # outputs line with indentation.
1323 func_echo ()
1324 {
1325   echo "${indent}$*"
1326 }
1327
1328 # func_indent
1329 # increases the indentation.
1330 func_indent ()
1331 {
1332   indent="$indent  "
1333 }
1334
1335 # func_unindent
1336 # decreases the indentation.
1337 func_unindent ()
1338 {
1339   indent=`echo "$indent" | sed -e 's/  $//'`
1340 }
1341
1342 # func_begin tag [attribute...]
1343 # opens a HTML tag.
1344 func_begin ()
1345 {
1346   func_echo "<$*>"
1347   func_indent
1348 }
1349
1350 # func_end tag
1351 # closes a HTML tag.
1352 func_end ()
1353 {
1354   func_unindent
1355   func_echo "</$1>"
1356 }
1357
1358 # func_wrap tag [attribute...]
1359 # encloses $element in a HTML tag, without line breaks.
1360 func_wrap ()
1361 {
1362   element="<$*>${element}</$1>"
1363 }
1364
1365 # func_section_wrap sectiontag
1366 # encloses $element in a HTML tag referring to the given tag.
1367 func_section_wrap ()
1368 {
1369   if test -n "$in_toc"; then
1370     func_wrap A "HREF=\"#$1\""
1371   else
1372     func_wrap A "NAME=\"$1\""
1373   fi
1374 }
1375
1376 # func_begin_table
1377 func_begin_table ()
1378 {
1379   func_begin TABLE
1380   if test -z "$in_toc"; then
1381     func_begin TR
1382     func_echo "<TH ALIGN=LEFT>modules/"
1383     func_echo "<TH ALIGN=LEFT>lib/"
1384     func_echo "<TH ALIGN=LEFT>lib/"
1385     func_echo "<TH ALIGN=LEFT>m4/"
1386     func_echo "<TH ALIGN=LEFT>&nbsp;"
1387     func_end TR
1388     func_begin TR
1389     func_echo "<TH ALIGN=LEFT>Module"
1390     func_echo "<TH ALIGN=LEFT>Header"
1391     func_echo "<TH ALIGN=LEFT>Implementation"
1392     func_echo "<TH ALIGN=LEFT>Autoconf macro"
1393     func_echo "<TH ALIGN=LEFT>Depends on"
1394     func_end TR
1395   fi
1396 }
1397
1398 # func_module module
1399 func_module ()
1400 {
1401     sed_remove_trailing_empty_line='${
1402 /^$/d
1403 }'
1404
1405   if test -n "$in_toc"; then
1406
1407     func_begin TR "WIDTH=\"100%\""
1408
1409     element='<A HREF="#module='$1'">'$1'</A>'
1410     func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"20%\">$element"
1411
1412     element=`gnulib-tool --extract-description $1 \
1413              | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1414                    -e 's,^, ,' \
1415                    -e 's,\([^a-zA-Z]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A>(),g' \
1416                    -e 's,^ ,,'`
1417     func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"80%\">$element"
1418
1419     func_end TR
1420
1421   else
1422
1423     func_begin TR
1424
1425     element='<A NAME="module='$1'"></A><A HREF="'$repo_url_prefix'modules/'$1$repo_url_suffix'">'$1'</A>'
1426     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1427
1428     includes=`gnulib-tool --extract-include-directive $1`
1429     files=`gnulib-tool --extract-filelist $1 \
1430            | grep -v '^m4/gnulib-common\.m4$'`
1431     element=`echo "$includes" \
1432              | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1433                    -e 's,^#include "\(.*\)"$,#include "<A HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>",' \
1434                    -e 's,^#include &lt;'"${posix_headers}"'\.h&gt;$,#include \&lt;<A HREF="'"$POSIX2001_URL"'xbd/\1.h.html">\1.h</A>\&gt;,' \
1435                    -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1436     test -n "$element" || element='---'
1437     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1438
1439     sed_choose_unconditional_nonstandard_include='s,^#include "\(.*\)"$,\1,p'
1440     includefile=`echo "$includes" \
1441                  | sed -n -e "$sed_choose_unconditional_nonstandard_include" \
1442                  | sed -e "$sed_escape_dot" | tr -d "$trnl"`
1443     sed_choose_lib_files='s,^lib/\(.*\)$,\1,p'
1444     element=`echo "$files" \
1445              | sed -e '/^$/d' \
1446              | sed -n -e "$sed_choose_lib_files" \
1447              | sed -e '/^'"${includefile}"'$/d' \
1448                    -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>,' \
1449                    -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1450     test -n "$element" || element='---'
1451     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1452
1453     sed_choose_m4_files='s,^m4/\(.*\)$,\1,p'
1454     element=`(echo "$files" \
1455               | sed -e "$sed_remove_trailing_empty_line" \
1456               | sed -n -e "$sed_choose_m4_files" \
1457               | sed -e '/^onceonly/d' \
1458                     -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'm4/\1'$repo_url_suffix_repl'">\1</A>,'; \
1459               gnulib-tool --extract-autoconf-snippet $1 \
1460               | sed -e "$sed_remove_trailing_empty_line") \
1461               | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1462     test -n "$element" || element='---'
1463     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1464
1465     element=`gnulib-tool --extract-dependencies $1 \
1466              | sed -e "$sed_remove_trailing_empty_line" \
1467                    -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1468     test -n "$element" || element='---'
1469     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1470
1471     func_end TR
1472
1473     func_append seen_modules " $1"
1474     func_append seen_files " $files"
1475   fi
1476 }
1477
1478 # func_end_table
1479 func_end_table ()
1480 {
1481   func_end TABLE
1482 }
1483
1484 # func_all_modules
1485 func_all_modules ()
1486 {
1487   element="Support for systems lacking ANSI C 89"
1488   func_section_wrap ansic_sup
1489   func_wrap H2
1490   func_echo "$element"
1491
1492   func_begin_table
1493   func_module stdlib
1494   func_module exit
1495   func_module atexit
1496   func_module strtod
1497   func_module strtol
1498   func_module strtoul
1499   func_module memchr
1500   func_module memcmp
1501   func_module memcpy
1502   func_module memmove
1503   func_module memset
1504   func_module strcspn
1505   func_module strpbrk
1506   func_module strerror
1507   func_module mktime
1508   func_end_table
1509
1510   func_echo 'Most of these modules are not listed among dependencies below, for simplicity.'
1511
1512   element="Enhancements for ANSI C 89 functions"
1513   func_section_wrap ansic_enh
1514   func_wrap H2
1515   func_echo "$element"
1516
1517   element="Diagnostics <assert.h>"
1518   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1519   func_section_wrap ansic_enh_assert_diagnostics
1520   func_wrap H3
1521   func_echo "$element"
1522
1523   func_begin_table
1524   func_module assert
1525   func_module verify
1526   func_end_table
1527
1528   element="Mathematics <math.h>"
1529   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1530   func_section_wrap ansic_enh_math
1531   func_wrap H3
1532   func_echo "$element"
1533
1534   func_begin_table
1535   func_module fpieee
1536   func_end_table
1537
1538   element="Input/output <stdio.h>"
1539   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1540   func_section_wrap ansic_enh_stdio
1541   func_wrap H3
1542   func_echo "$element"
1543
1544   func_begin_table
1545   func_module fflush
1546   func_module fseterr
1547   func_module tmpfile
1548   func_end_table
1549
1550   element="Memory management functions <stdlib.h>"
1551   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1552   func_section_wrap ansic_enh_stdlib_memory
1553   func_wrap H3
1554   func_echo "$element"
1555
1556   func_begin_table
1557   func_module calloc
1558   func_module eealloc
1559   func_module free
1560   func_module malloc
1561   func_module realloc
1562   func_module pagealign_alloc
1563   func_end_table
1564
1565   element="Sorting functions <stdlib.h>"
1566   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1567   func_section_wrap ansic_enh_stdlib_sorting
1568   func_wrap H3
1569   func_echo "$element"
1570
1571   func_begin_table
1572   func_module mpsort
1573   func_end_table
1574
1575   element="Date and time <time.h>"
1576   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1577   func_section_wrap ansic_enh_time_datetime
1578   func_wrap H3
1579   func_echo "$element"
1580
1581   func_begin_table
1582   func_module fprintftime
1583   func_module strftime
1584   func_end_table
1585
1586   element="Extra functions based on ANSI C 89"
1587   func_section_wrap ansic_ext
1588   func_wrap H2
1589   func_echo "$element"
1590
1591   element="Memory management functions <stdlib.h>"
1592   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1593   func_section_wrap ansic_ext_stdlib_memory
1594   func_wrap H3
1595   func_echo "$element"
1596
1597   func_begin_table
1598   func_module xsize
1599   func_module xalloc
1600   func_module xalloc-die
1601   func_module alloca
1602   func_module alloca-opt
1603   func_module allocsa
1604   func_module xallocsa
1605   func_end_table
1606
1607   element="Integer arithmetic functions <stdlib.h>"
1608   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1609   func_section_wrap ansic_ext_stdlib_arith
1610   func_wrap H3
1611   func_echo "$element"
1612
1613   func_begin_table
1614   func_module gcd
1615   func_module minmax
1616   func_end_table
1617
1618   element="Environment variables <stdlib.h>"
1619   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1620   func_section_wrap ansic_ext_stdlib_env
1621   func_wrap H3
1622   func_echo "$element"
1623
1624   func_begin_table
1625   func_module putenv
1626   func_module setenv
1627   func_module xsetenv
1628   func_end_table
1629
1630   element="Character handling <ctype.h>"
1631   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1632   func_section_wrap ansic_ext_ctype
1633   func_wrap H3
1634   func_echo "$element"
1635
1636   func_begin_table
1637   func_module c-ctype
1638   func_end_table
1639
1640   element="String handling <string.h>"
1641   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1642   func_section_wrap ansic_ext_string
1643   func_wrap H3
1644   func_echo "$element"
1645
1646   func_begin_table
1647   func_module bcopy
1648   func_module memmem
1649   func_module mempcpy
1650   func_module memrchr
1651   func_module stpcpy
1652   func_module stpncpy
1653   func_module c-strcase
1654   func_module strcase
1655   func_module c-strcaseeq
1656   func_module c-strcasestr
1657   func_module strcasestr
1658   func_module strchrnul
1659   func_module strdup
1660   func_module streq
1661   func_module strnlen
1662   func_module strnlen1
1663   func_module strndup
1664   func_module strsep
1665   func_module c-strstr
1666   func_module trim
1667   #func_module fstrcmp
1668   func_module xstrndup
1669   func_end_table
1670
1671   element="Mathematics <math.h>"
1672   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1673   func_section_wrap ansic_ext_math
1674   func_wrap H3
1675   func_echo "$element"
1676
1677   func_begin_table
1678   func_module printf-frexp
1679   func_end_table
1680
1681   element="Numeric conversion functions <stdlib.h>"
1682   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1683   func_section_wrap ansic_ext_stdlib_conv
1684   func_wrap H3
1685   func_echo "$element"
1686
1687   func_begin_table
1688   func_module c-strtod
1689   func_module c-strtold
1690   func_module xstrtod
1691   func_module xstrtol
1692   func_module xstrtold
1693   func_end_table
1694
1695   element="Date and time <time.h>"
1696   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1697   func_section_wrap ansic_ext_time_datetime
1698   func_wrap H3
1699   func_echo "$element"
1700
1701   func_begin_table
1702   func_module getdate
1703   func_module timegm
1704   func_module tzset
1705   func_end_table
1706
1707   element="Input/Output <stdio.h>"
1708   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1709   func_section_wrap ansic_ext_stdio
1710   func_wrap H3
1711   func_echo "$element"
1712
1713   func_begin_table
1714   func_module unlocked-io
1715   func_module fwriteerror
1716   func_module vasnprintf
1717   func_module vasprintf
1718   func_module xvasprintf
1719   func_end_table
1720
1721   element="Signal handling <signal.h>"
1722   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1723   func_section_wrap ansic_ext_signal
1724   func_wrap H3
1725   func_echo "$element"
1726
1727   func_begin_table
1728   func_module fatal-signal
1729   func_module raise
1730   func_end_table
1731
1732   element="Command-line arguments"
1733   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1734   func_section_wrap ansic_ext_argv
1735   func_wrap H3
1736   func_echo "$element"
1737
1738   func_begin_table
1739   func_module argmatch
1740   func_module version-etc
1741   func_module version-etc-fsf
1742   func_module long-options
1743   func_end_table
1744
1745   element="Container data structures"
1746   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1747   func_section_wrap ansic_ext_container
1748   func_wrap H3
1749   func_echo "$element"
1750
1751   func_begin_table
1752   func_module list
1753   func_module array-list
1754   func_module carray-list
1755   func_module linked-list
1756   func_module avltree-list
1757   func_module rbtree-list
1758   func_module linkedhash-list
1759   func_module avltreehash-list
1760   func_module rbtreehash-list
1761   func_module sublist
1762   func_module oset
1763   func_module array-oset
1764   func_module avltree-oset
1765   func_module rbtree-oset
1766   func_end_table
1767
1768   element="Cryptographic computations (low-level)"
1769   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1770   func_section_wrap ansic_ext_crypto
1771   func_wrap H3
1772   func_echo "$element"
1773
1774   func_begin_table
1775   func_module crypto/arcfour
1776   func_module crypto/arctwo
1777   func_module crypto/des
1778   func_module crypto/hmac-md5
1779   func_module crypto/hmac-sha1
1780   func_module crypto/md2
1781   func_module crypto/md4
1782   func_module crypto/md5
1783   func_module crypto/rijndael
1784   func_module crypto/sha1
1785   func_end_table
1786
1787   element="Cryptographic computations (high-level)"
1788   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1789   func_section_wrap ansic_ext_crypto2
1790   func_wrap H3
1791   func_echo "$element"
1792
1793   func_begin_table
1794   func_module crypto/gc
1795   func_module crypto/gc-arcfour
1796   func_module crypto/gc-arctwo
1797   func_module crypto/gc-des
1798   func_module crypto/gc-hmac-md5
1799   func_module crypto/gc-hmac-sha1
1800   func_module crypto/gc-md2
1801   func_module crypto/gc-md4
1802   func_module crypto/gc-md5
1803   func_module crypto/gc-pbkdf2-sha1
1804   func_module crypto/gc-random
1805   func_module crypto/gc-rijndael
1806   func_module crypto/gc-sha1
1807   func_end_table
1808
1809   element="Misc"
1810   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1811   func_section_wrap ansic_ext_misc
1812   func_wrap H3
1813   func_echo "$element"
1814
1815   func_begin_table
1816   func_module base64
1817   func_module check-version
1818   func_module diacrit
1819   func_module getline
1820   func_module getdelim
1821   func_module getnline
1822   func_module getndelim2
1823   func_module linebuffer
1824   func_module obstack
1825   func_module hash-pjw
1826   func_module hash
1827   func_module readline
1828   func_module readtokens
1829   func_module readtokens0
1830   func_module strverscmp
1831   func_end_table
1832
1833   element="Support for systems lacking ISO C 99"
1834   func_section_wrap isoc_sup
1835   func_wrap H2
1836   func_echo "$element"
1837
1838   element="Core language properties"
1839   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1840   func_section_wrap isoc_core_properties
1841   func_wrap H3
1842   func_echo "$element"
1843
1844   func_begin_table
1845   func_module flexmember
1846   func_module fpucw
1847   func_module inline
1848   func_module vararrays
1849   func_end_table
1850
1851   element="Sizes of integer types <limits.h>"
1852   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1853   func_section_wrap isoc_sup_limits
1854   func_wrap H3
1855   func_echo "$element"
1856
1857   func_begin_table
1858   func_module size_max
1859   func_end_table
1860
1861   element="Variable arguments <stdarg.h>"
1862   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1863   func_section_wrap isoc_sup_stdarg
1864   func_wrap H3
1865   func_echo "$element"
1866
1867   func_begin_table
1868   func_module stdarg
1869   func_end_table
1870
1871   element="Boolean type and values <stdbool.h>"
1872   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1873   func_section_wrap isoc_sup_stdbool
1874   func_wrap H3
1875   func_echo "$element"
1876
1877   func_begin_table
1878   func_module stdbool
1879   func_end_table
1880
1881   element="Integer types and values <stdint.h>"
1882   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1883   func_section_wrap isoc_sup_stdint
1884   func_wrap H3
1885   func_echo "$element"
1886
1887   func_begin_table
1888   func_module stdint
1889   func_end_table
1890
1891   element="Input/output <stdio.h>"
1892   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1893   func_section_wrap isoc_sup_stdio
1894   func_wrap H3
1895   func_echo "$element"
1896
1897   func_begin_table
1898   func_module stdio
1899   func_module snprintf
1900   func_module vsnprintf
1901   func_end_table
1902
1903   element="Numeric conversion functions <stdlib.h>"
1904   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1905   func_section_wrap isoc_sup_stdlib_conv
1906   func_wrap H3
1907   func_echo "$element"
1908
1909   func_begin_table
1910   func_module strtoll
1911   func_module strtoull
1912   func_end_table
1913
1914   element="Functions for greatest-width integer types <inttypes.h>"
1915   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1916   func_section_wrap isoc_sup_inttypes
1917   func_wrap H3
1918   func_echo "$element"
1919
1920   func_begin_table
1921   func_module imaxabs
1922   func_module imaxdiv
1923   func_module inttypes
1924   func_module strtoimax
1925   func_module strtoumax
1926   func_end_table
1927
1928   element="Extended multibyte and wide character utilities <wchar.h>"
1929   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1930   func_section_wrap isoc_sup_wchar
1931   func_wrap H3
1932   func_echo "$element"
1933
1934   func_begin_table
1935   func_module wchar
1936   func_end_table
1937
1938   element="Wide character classification and mapping utilities <wctype.h>"
1939   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1940   func_section_wrap isoc_sup_wctype
1941   func_wrap H3
1942   func_echo "$element"
1943
1944   func_begin_table
1945   func_module wctype
1946   func_end_table
1947
1948   element="Mathematics <math.h>"
1949   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1950   func_section_wrap isoc_sup_math
1951   func_wrap H3
1952   func_echo "$element"
1953
1954   func_begin_table
1955   func_module frexp
1956   func_module frexpl
1957   func_module isnan-nolibm
1958   func_module isnanl
1959   func_module isnanl-nolibm
1960   func_module ldexpl
1961   func_module math
1962   func_module mathl
1963   func_end_table
1964
1965   element="Enhancements for ISO C 99 functions"
1966   func_section_wrap isoc_enh
1967   func_wrap H2
1968   func_echo "$element"
1969
1970   func_begin_table
1971   func_end_table
1972
1973   element="Extra functions based on ISO C 99"
1974   func_section_wrap isoc_ext
1975   func_wrap H2
1976   func_echo "$element"
1977
1978   element="Mathematics <math.h>"
1979   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1980   func_section_wrap isoc_ext_math
1981   func_wrap H3
1982   func_echo "$element"
1983
1984   func_begin_table
1985   func_module printf-frexpl
1986   func_end_table
1987
1988   element="Numeric conversion functions <stdlib.h>"
1989   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1990   func_section_wrap isoc_ext_stdlib_conv
1991   func_wrap H3
1992   func_echo "$element"
1993
1994   func_begin_table
1995   func_module intprops
1996   func_module inttostr
1997   func_module xstrtoimax
1998   func_module xstrtoumax
1999   func_end_table
2000
2001   element="Extended multibyte and wide character utilities <wchar.h>"
2002   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2003   func_section_wrap isoc_ext_wchar_mb
2004   func_wrap H3
2005   func_echo "$element"
2006
2007   func_begin_table
2008   func_module mbchar
2009   func_module mbiter
2010   func_module mbuiter
2011   func_module mbfile
2012   func_end_table
2013
2014   element="Support for systems lacking POSIX:2001"
2015   func_section_wrap posix_sup
2016   func_wrap H2
2017   func_echo "$element"
2018
2019   func_begin_table
2020   func_module chown
2021   func_module dup2
2022   func_module fchdir
2023   func_module fprintf-posix
2024   func_module ftruncate
2025   func_module getaddrinfo
2026   func_module getcwd
2027   func_module getgroups
2028   func_module gethostname
2029   func_module getlogin_r
2030   func_module getsubopt
2031   func_module gettimeofday
2032   func_module inet_ntop
2033   func_module inet_pton
2034   func_module mkdir
2035   func_module mkdtemp
2036   func_module mkstemp
2037   func_module poll
2038   func_module readlink
2039   func_module lstat
2040   func_module printf-posix
2041   func_module snprintf-posix
2042   func_module sprintf-posix
2043   func_module string
2044   func_module tempname
2045   func_module time
2046   func_module time_r
2047   func_module timespec
2048   func_module nanosleep
2049   func_module regex
2050   func_module rename
2051   func_module rmdir
2052   func_module search
2053   func_module sigprocmask
2054   func_module socklen
2055   func_module ssize_t
2056   func_module strptime
2057   func_module strtok_r
2058   func_module sys_select
2059   func_module sys_socket
2060   func_module sys_stat
2061   func_module sys_time
2062   func_module tsearch
2063   func_module unistd
2064   func_module utime
2065   func_module vasnprintf-posix
2066   func_module vasprintf-posix
2067   func_module vfprintf-posix
2068   func_module vprintf-posix
2069   func_module vsnprintf-posix
2070   func_module vsprintf-posix
2071   func_module wcwidth
2072   func_end_table
2073
2074   element="Compatibility checks for POSIX:2001 functions"
2075   func_section_wrap posix_compat
2076   func_wrap H2
2077   func_echo "$element"
2078
2079   func_begin_table
2080   func_module d-ino
2081   func_module d-type
2082   func_module link-follow
2083   func_module rename-dest-slash
2084   func_module rmdir-errno
2085   func_module unlink-busy
2086   func_module winsz-ioctl
2087   func_module winsz-termios
2088   func_end_table
2089
2090   element="Enhancements for POSIX:2001 functions"
2091   func_section_wrap posix_enh
2092   func_wrap H2
2093   func_echo "$element"
2094
2095   func_begin_table
2096   func_module dirname
2097   func_module getopt
2098   func_module unistd-safer
2099   func_module fnmatch
2100   func_module fnmatch-posix
2101   func_module fnmatch-gnu
2102   func_module glob
2103   func_module exclude
2104   func_end_table
2105
2106   element="Extra functions based on POSIX:2001"
2107   func_section_wrap posix_ext
2108   func_wrap H2
2109   func_echo "$element"
2110
2111   element="Numeric conversion functions"
2112   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2113   func_section_wrap posix_ext_conv
2114   func_wrap H3
2115   func_echo "$element"
2116
2117   func_begin_table
2118   func_module human
2119   func_end_table
2120
2121   element="File system functions"
2122   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2123   func_section_wrap posix_ext_filesys
2124   func_wrap H3
2125   func_echo "$element"
2126
2127   func_begin_table
2128   func_module acl
2129   func_module backupfile
2130   func_module canonicalize
2131   func_module canonicalize-lgpl
2132   func_module clean-temp
2133   func_module copy-file
2134   func_module cycle-check
2135   func_module fsusage
2136   func_module dirfd
2137   func_module double-slash-root
2138   func_module euidaccess
2139   func_module file-type
2140   func_module fileblocks
2141   func_module filemode
2142   func_module filename
2143   func_module filenamecat
2144   func_module fts
2145   func_module fts-lgpl
2146   func_module isdir
2147   func_module lchmod
2148   func_module lchown
2149   func_module mkancesdirs
2150   func_module mkdir-p
2151   func_module modechange
2152   func_module mountlist
2153   func_module openat
2154   func_module pathmax
2155   func_module same
2156   func_module save-cwd
2157   func_module savedir
2158   func_module savewd
2159   func_module stat-time
2160   func_module tmpdir
2161   func_module unlinkdir
2162   func_module utimecmp
2163   func_module utimens
2164   func_module write-any-file
2165   func_module xgetcwd
2166   func_module xreadlink
2167   func_module xreadlink-with-size
2168   func_end_table
2169
2170   element="File descriptor based Input/Output"
2171   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2172   func_section_wrap posix_ext_filedesc
2173   func_wrap H3
2174   func_echo "$element"
2175
2176   func_begin_table
2177   func_module fcntl-safer
2178   func_module safe-read
2179   func_module safe-write
2180   func_module full-read
2181   func_module full-write
2182   func_module binary-io
2183   func_module isapipe
2184   func_end_table
2185
2186   element="File stream based Input/Output"
2187   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2188   func_section_wrap posix_ext_filestream
2189   func_wrap H3
2190   func_echo "$element"
2191
2192   func_begin_table
2193   func_module close-stream
2194   func_module closein
2195   func_module closeout
2196   func_module fopen-safer
2197   func_module fpending
2198   func_module freading
2199   func_module fwriting
2200   func_module getpass
2201   func_module getpass-gnu
2202   func_module stdlib-safer
2203   func_module tmpfile-safer
2204   func_end_table
2205
2206   element="Users and groups"
2207   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2208   func_section_wrap posix_ext_uidgid
2209   func_wrap H3
2210   func_echo "$element"
2211
2212   func_begin_table
2213   func_module getugroups
2214   func_module group-member
2215   func_module idcache
2216   func_module userspec
2217   func_end_table
2218
2219   element="Date and time"
2220   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2221   func_section_wrap posix_ext_datetime
2222   func_wrap H3
2223   func_echo "$element"
2224
2225   func_begin_table
2226   func_module gettime
2227   func_module settime
2228   func_module posixtm
2229   func_module xnanosleep
2230   func_end_table
2231
2232   element="Networking functions"
2233   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2234   func_section_wrap posix_ext_net
2235   func_wrap H3
2236   func_echo "$element"
2237
2238   func_begin_table
2239   func_module xgethostname
2240   func_module canon-host
2241   func_end_table
2242
2243   element="Multithreading"
2244   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2245   func_section_wrap posix_ext_thread
2246   func_wrap H3
2247   func_echo "$element"
2248
2249   func_begin_table
2250   func_module lock
2251   func_module tls
2252   func_end_table
2253
2254   element="Internationalization functions"
2255   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2256   func_section_wrap posix_ext_i18n
2257   func_wrap H3
2258   func_echo "$element"
2259
2260   func_begin_table
2261   func_module gettext
2262   func_module gettext-h
2263   func_module iconv
2264   func_module striconv
2265   func_module xstriconv
2266   func_module striconveh
2267   func_module striconveha
2268   func_module localcharset
2269   func_module hard-locale
2270   func_module mbslen
2271   func_module mbschr
2272   func_module mbsrchr
2273   func_module mbsstr
2274   func_module mbscasecmp
2275   func_module mbsncasecmp
2276   func_module mbspcasecmp
2277   func_module mbscasestr
2278   func_module mbscspn
2279   func_module mbspbrk
2280   func_module mbsspn
2281   func_module mbssep
2282   func_module mbstok_r
2283   func_module mbswidth
2284   func_module memcasecmp
2285   func_module memcoll
2286   func_module xmemcoll
2287   func_module unicodeio
2288   func_module rpmatch
2289   func_module yesno
2290   func_module linebreak
2291   func_module bison-i18n
2292   func_end_table
2293
2294   element="Unicode string functions"
2295   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2296   func_section_wrap posix_ext_unicode
2297   func_wrap H3
2298   func_echo "$element"
2299
2300   func_begin_table
2301   func_module unitypes
2302   func_module ucs4-utf8
2303   func_module ucs4-utf16
2304   func_module utf8-ucs4-unsafe
2305   func_module utf16-ucs4-unsafe
2306   func_module utf8-ucs4
2307   func_module utf16-ucs4
2308   func_module unistr/base
2309   func_module unistr/u8-to-u16
2310   func_module unistr/u8-to-u32
2311   func_module unistr/u16-to-u8
2312   func_module unistr/u16-to-u32
2313   func_module unistr/u32-to-u8
2314   func_module unistr/u32-to-u16
2315   func_module unistr/u8-check
2316   func_module unistr/u16-check
2317   func_module unistr/u32-check
2318   func_module unistr/u8-chr
2319   func_module unistr/u16-chr
2320   func_module unistr/u32-chr
2321   func_module unistr/u8-cmp
2322   func_module unistr/u16-cmp
2323   func_module unistr/u32-cmp
2324   func_module unistr/u8-cpy
2325   func_module unistr/u16-cpy
2326   func_module unistr/u32-cpy
2327   func_module unistr/u8-cpy-alloc
2328   func_module unistr/u16-cpy-alloc
2329   func_module unistr/u32-cpy-alloc
2330   func_module unistr/u8-endswith
2331   func_module unistr/u16-endswith
2332   func_module unistr/u32-endswith
2333   func_module unistr/u8-mblen
2334   func_module unistr/u16-mblen
2335   func_module unistr/u32-mblen
2336   func_module unistr/u8-mbtouc-unsafe
2337   func_module unistr/u16-mbtouc-unsafe
2338   func_module unistr/u32-mbtouc-unsafe
2339   func_module unistr/u8-mbtouc
2340   func_module unistr/u16-mbtouc
2341   func_module unistr/u32-mbtouc
2342   func_module unistr/u8-mbtoucr
2343   func_module unistr/u16-mbtoucr
2344   func_module unistr/u32-mbtoucr
2345   func_module unistr/u8-move
2346   func_module unistr/u16-move
2347   func_module unistr/u32-move
2348   func_module unistr/u8-next
2349   func_module unistr/u16-next
2350   func_module unistr/u32-next
2351   func_module unistr/u8-prev
2352   func_module unistr/u16-prev
2353   func_module unistr/u32-prev
2354   func_module unistr/u8-set
2355   func_module unistr/u16-set
2356   func_module unistr/u32-set
2357   func_module unistr/u8-startswith
2358   func_module unistr/u16-startswith
2359   func_module unistr/u32-startswith
2360   func_module unistr/u8-stpcpy
2361   func_module unistr/u16-stpcpy
2362   func_module unistr/u32-stpcpy
2363   func_module unistr/u8-stpncpy
2364   func_module unistr/u16-stpncpy
2365   func_module unistr/u32-stpncpy
2366   func_module unistr/u8-strcat
2367   func_module unistr/u16-strcat
2368   func_module unistr/u32-strcat
2369   func_module unistr/u8-strchr
2370   func_module unistr/u16-strchr
2371   func_module unistr/u32-strchr
2372   func_module unistr/u8-strcmp
2373   func_module unistr/u16-strcmp
2374   func_module unistr/u32-strcmp
2375   func_module unistr/u8-strcpy
2376   func_module unistr/u16-strcpy
2377   func_module unistr/u32-strcpy
2378   func_module unistr/u8-strcspn
2379   func_module unistr/u16-strcspn
2380   func_module unistr/u32-strcspn
2381   func_module unistr/u8-strdup
2382   func_module unistr/u16-strdup
2383   func_module unistr/u32-strdup
2384   func_module unistr/u8-strlen
2385   func_module unistr/u16-strlen
2386   func_module unistr/u32-strlen
2387   func_module unistr/u8-strmblen
2388   func_module unistr/u16-strmblen
2389   func_module unistr/u32-strmblen
2390   func_module unistr/u8-strmbtouc
2391   func_module unistr/u16-strmbtouc
2392   func_module unistr/u32-strmbtouc
2393   func_module unistr/u8-strncat
2394   func_module unistr/u16-strncat
2395   func_module unistr/u32-strncat
2396   func_module unistr/u8-strncmp
2397   func_module unistr/u16-strncmp
2398   func_module unistr/u32-strncmp
2399   func_module unistr/u8-strncpy
2400   func_module unistr/u16-strncpy
2401   func_module unistr/u32-strncpy
2402   func_module unistr/u8-strnlen
2403   func_module unistr/u16-strnlen
2404   func_module unistr/u32-strnlen
2405   func_module unistr/u8-strpbrk
2406   func_module unistr/u16-strpbrk
2407   func_module unistr/u32-strpbrk
2408   func_module unistr/u8-strrchr
2409   func_module unistr/u16-strrchr
2410   func_module unistr/u32-strrchr
2411   func_module unistr/u8-strspn
2412   func_module unistr/u16-strspn
2413   func_module unistr/u32-strspn
2414   func_module unistr/u8-strstr
2415   func_module unistr/u16-strstr
2416   func_module unistr/u32-strstr
2417   func_module unistr/u8-strtok
2418   func_module unistr/u16-strtok
2419   func_module unistr/u32-strtok
2420   func_module unistr/u8-uctomb
2421   func_module unistr/u16-uctomb
2422   func_module unistr/u32-uctomb
2423   func_module uniconv/base
2424   func_module uniconv/u8-conv-from-enc
2425   func_module uniconv/u16-conv-from-enc
2426   func_module uniconv/u32-conv-from-enc
2427   func_module uniconv/u8-strconv-from-enc
2428   func_module uniconv/u16-strconv-from-enc
2429   func_module uniconv/u32-strconv-from-enc
2430   func_module uniconv/u8-strconv-to-enc
2431   func_module uniconv/u16-strconv-to-enc
2432   func_module uniconv/u32-strconv-to-enc
2433   func_module uniconv/u8-strconv-from-locale
2434   func_module uniconv/u16-strconv-from-locale
2435   func_module uniconv/u32-strconv-from-locale
2436   func_module uniconv/u8-strconv-to-locale
2437   func_module uniconv/u16-strconv-to-locale
2438   func_module uniconv/u32-strconv-to-locale
2439   func_end_table
2440
2441   element="Executing programs"
2442   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2443   func_section_wrap posix_ext_exec
2444   func_wrap H3
2445   func_echo "$element"
2446
2447   func_begin_table
2448   func_module cloexec
2449   func_module findprog
2450   func_module wait-process
2451   func_module execute
2452   func_module pipe
2453   func_module sh-quote
2454   func_end_table
2455
2456   element="Java"
2457   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2458   func_section_wrap posix_ext_java
2459   func_wrap H3
2460   func_echo "$element"
2461
2462   func_begin_table
2463   func_module classpath
2464   func_module javacomp-script
2465   func_module javacomp
2466   func_module javaexec-script
2467   func_module javaexec
2468   func_module javaversion
2469   #func_module gcj
2470   func_end_table
2471
2472   element="C#"
2473   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2474   func_section_wrap posix_ext_csharp
2475   func_wrap H3
2476   func_echo "$element"
2477
2478   func_begin_table
2479   func_module csharpcomp-script
2480   func_module csharpcomp
2481   func_module csharpexec-script
2482   func_module csharpexec
2483   func_end_table
2484
2485   element="Misc"
2486   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2487   func_section_wrap posix_ext_misc
2488   func_wrap H3
2489   func_echo "$element"
2490
2491   func_begin_table
2492   func_module argp
2493   func_module argz
2494   func_module byteswap
2495   func_module exitfail
2496   func_module c-stack
2497   func_module error
2498   func_module extensions
2499   func_module getdomainname
2500   func_module xgetdomainname
2501   func_module getloadavg
2502   func_module getpagesize
2503   func_module getusershell
2504   func_module physmem
2505   func_module posixver
2506   func_module progname
2507   func_module quotearg
2508   func_module quote
2509   func_module readutmp
2510   func_module sig2str
2511   func_module sysexits
2512   func_module verror
2513   func_module visibility
2514   func_end_table
2515
2516   element="Support for building libraries and executables"
2517   func_section_wrap build_lib
2518   func_wrap H2
2519   func_echo "$element"
2520
2521   func_begin_table
2522   func_module absolute-header
2523   func_module config-h
2524   func_module configmake
2525   func_module dummy
2526   func_module elisp-comp
2527   func_module havelib
2528   func_module ldd
2529   func_module lib-ignore
2530   func_module link-warning
2531   func_module no-c++
2532   func_module relocatable-lib
2533   func_module relocatable-lib-lgpl
2534   func_module relocatable-prog
2535   func_module relocatable-prog-wrapper
2536   func_module relocatable-script
2537   func_end_table
2538
2539   element="Support for building documentation"
2540   func_section_wrap build_doc
2541   func_wrap H2
2542   func_echo "$element"
2543
2544   func_begin_table
2545   func_module fdl
2546   func_module gendocs
2547   func_module gpl
2548   func_module lgpl
2549   func_module regexprops-generic
2550   func_end_table
2551
2552   element="Support for maintaining and releasing projects"
2553   func_section_wrap maintain
2554   func_wrap H2
2555   func_echo "$element"
2556
2557   func_begin_table
2558   func_module announce-gen
2559   func_module autobuild
2560   func_module gnupload
2561   func_module maintainer-makefile
2562   func_end_table
2563
2564   element="Misc"
2565   func_section_wrap misc
2566   func_wrap H2
2567   func_echo "$element"
2568
2569   func_begin_table
2570   func_module host-os
2571   func_module perl
2572   func_module uptime
2573   func_end_table
2574 }
2575
2576
2577 func_tmpdir
2578 trap 'exit_status=$?
2579       if test "$signal" != 0; then
2580         echo "caught signal $signal" >&2
2581       fi
2582       rm -rf "$tmp"
2583       exit $exit_status' 0
2584 for signal in 1 2 3 13 15; do
2585   trap '{ signal='$signal'; func_exit 1; }' $signal
2586 done
2587 signal=0
2588
2589 echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">'
2590 func_begin HTML
2591
2592 func_begin HEAD
2593
2594 element="Gnulib Module List"
2595 func_wrap TITLE
2596 func_echo "$element"
2597
2598 modules=`gnulib-tool --list`
2599 modules=`for m in $modules; do printf "%s, " $m; done | sed -e 's/, $//'`
2600 func_echo '<META NAME="keywords" CONTENT="'"${modules}"'">'
2601
2602 func_end HEAD
2603
2604 func_begin BODY
2605
2606 element="Gnulib Module List"
2607 func_wrap H1
2608 func_echo "$element"
2609
2610 func_echo 'This is a list of the modules which make up gnulib, with dependencies.'
2611
2612 in_toc=yes
2613 func_all_modules
2614
2615 in_toc=
2616 func_all_modules
2617
2618
2619 gnulib-tool --list > "$tmp/all-modules"
2620 missed_modules=`for module in $seen_modules; do echo $module; done \
2621                   | LC_ALL=C sort -u \
2622                   | LC_ALL=C join -v 2 - "$tmp/all-modules"`
2623
2624 if test -n "$missed_modules"; then
2625
2626   element="Unclassified modules - please update MODULES.html.sh"
2627   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2628   func_wrap H2
2629   func_echo "$element"
2630
2631   func_begin_table
2632   for module in $missed_modules; do
2633     func_module $module
2634   done
2635   func_end_table
2636
2637 fi
2638
2639 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"
2640 missed_files=`for file in $seen_files; do echo $file; done \
2641                 | LC_ALL=C sort -u \
2642                 | LC_ALL=C join -v 2 - "$tmp/all-files"`
2643
2644 if test -n "$missed_files"; then
2645
2646   element="Lone files - please create new modules containing them"
2647   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2648   func_wrap H2
2649   func_echo "$element"
2650
2651   func_echo '<PRE>'
2652   echo "$missed_files" | sed -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'\1'$repo_url_suffix_repl'">\1</A>,'
2653   echo '</PRE>'
2654
2655 fi
2656
2657 element="Future developments"
2658 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2659 func_wrap H2
2660 func_echo "$element"
2661
2662 func_echo 'Ideally a module could consist of:'
2663 func_begin UL
2664 func_echo '<LI>A header file: lib/<VAR>module</VAR>.h'
2665 func_echo '<LI>One or more implementation files: lib/<VAR>module</VAR>.c et al.'
2666 func_echo '<LI>One or more autoconf macro files: m4/<VAR>module</VAR>.m4 et al.'
2667 func_echo '<LI>A configure.ac fragment, Makefile.am fragment, dependency list: modules/<VAR>module</VAR>'
2668 func_echo '<LI>A testsuite: source files in tests/ and metainformation (a configure.ac fragment, Makefile.am fragment, dependency list) in modules/<VAR>module</VAR>-tests'
2669 func_echo '<LI>Some documentation'
2670 func_echo '<LI>A POT file and some PO files'
2671 func_end UL
2672
2673 func_echo '<HR>'
2674 func_echo 'Generated from <CODE>MODULES.html.sh</CODE> on '`LC_ALL=C date +"%e %B %Y"`.
2675
2676 func_end BODY
2677
2678 func_end HTML
2679
2680 rm -rf "$tmp"
2681 # Undo the effect of the previous 'trap' command.
2682 trap '' 0
2683 trap 'func_exit $?' 1 2 3 13 15
2684
2685 exit 0
2686
2687 # Local Variables:
2688 # indent-tabs-mode: nil
2689 # whitespace-check-buffer-indent: nil
2690 # End: