Mercurial > hg > octave-nkf > gnulib-hg
changeset 7325:4114613d997e
Break long lines.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 18 Sep 2006 13:47:29 +0000 |
parents | 9e3f92eb6ea2 |
children | 1ca1035630dd |
files | ChangeLog MODULES.html.sh |
diffstat | 2 files changed, 42 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-09-18 Bruno Haible <bruno@clisp.org> + + * MODULES.html.sh (func_module): Break long lines. + Suggested by Bruce Korb <bkorb@gnu.org>. + 2006-09-17 Bruno Haible <bruno@clisp.org> * modules/javaversion (Makefile.am): Remove DEFS setting.
--- a/MODULES.html.sh +++ b/MODULES.html.sh @@ -1337,7 +1337,11 @@ element='<A HREF="#module='$1'">'$1'</A>' func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"20%\">$element" - element=`gnulib-tool --extract-description $1 | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" | sed -e 's,^, ,' | sed -e 's,\([^a-zA-Z]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A>(),g' | sed -e 's,^ ,,'` + element=`gnulib-tool --extract-description $1 \ + | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \ + | sed -e 's,^, ,' \ + | sed -e 's,\([^a-zA-Z]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A>(),g' \ + | sed -e 's,^ ,,'` func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"80%\">$element" func_end TR @@ -1349,23 +1353,43 @@ element='<A NAME="module='$1'"></A><A HREF="modules/'$1'">'$1'</A>' func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element" - element=`gnulib-tool --extract-include-directive $1 | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" | sed -e 's,^#include "\(.*\)"$,#include "<A HREF="lib/\1">\1</A>",' -e 's,^#include <'"${posix_headers}"'\.h>$,#include \<<A HREF="'"$POSIX2001_URL"'xbd/\1.h.html">\1.h</A>\>,' | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'` + element=`gnulib-tool --extract-include-directive $1 \ + | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \ + | sed -e 's,^#include "\(.*\)"$,#include "<A HREF="lib/\1">\1</A>",' \ + -e 's,^#include <'"${posix_headers}"'\.h>$,#include \<<A HREF="'"$POSIX2001_URL"'xbd/\1.h.html">\1.h</A>\>,' \ + | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'` test -n "$element" || element='---' func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element" sed_choose_unconditional_nonstandard_include='s,^#include "\(.*\)"$,\1,p' - includefile=`gnulib-tool --extract-include-directive $1 | sed -n -e "$sed_choose_unconditional_nonstandard_include" | sed -e "$sed_escape_dot" | tr -d "$trnl"` + includefile=`gnulib-tool --extract-include-directive $1 \ + | sed -n -e "$sed_choose_unconditional_nonstandard_include" \ + | sed -e "$sed_escape_dot" | tr -d "$trnl"` sed_choose_lib_files='s,^lib/\(.*\)$,\1,p' - element=`gnulib-tool --extract-filelist $1 | sed -e '/^$/d' | sed -n -e "$sed_choose_lib_files" | sed -e '/^'"${includefile}"'$/d' | sed -e 's,^\(.*\)$,<A HREF="lib/\1">\1</A>,' | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'` + element=`gnulib-tool --extract-filelist $1 \ + | sed -e '/^$/d' \ + | sed -n -e "$sed_choose_lib_files" \ + | sed -e '/^'"${includefile}"'$/d' \ + | sed -e 's,^\(.*\)$,<A HREF="lib/\1">\1</A>,' \ + | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'` test -n "$element" || element='---' func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element" sed_choose_m4_files='s,^m4/\(.*\)$,\1,p' - element=`(gnulib-tool --extract-filelist $1 | sed -e "$sed_remove_trailing_empty_line" | sed -n -e "$sed_choose_m4_files" | sed -e '/^onceonly/d' | sed -e 's,^\(.*\)$,<A HREF="m4/\1">\1</A>,'; gnulib-tool --extract-autoconf-snippet $1 | sed -e "$sed_remove_trailing_empty_line") | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'` + element=`(gnulib-tool --extract-filelist $1 \ + | sed -e "$sed_remove_trailing_empty_line" \ + | sed -n -e "$sed_choose_m4_files" \ + | sed -e '/^onceonly/d' \ + | sed -e 's,^\(.*\)$,<A HREF="m4/\1">\1</A>,'; \ + gnulib-tool --extract-autoconf-snippet $1 \ + | sed -e "$sed_remove_trailing_empty_line") \ + | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'` test -n "$element" || element='---' func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element" - element=`gnulib-tool --extract-dependencies $1 | sed -e "$sed_remove_trailing_empty_line" | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'` + element=`gnulib-tool --extract-dependencies $1 \ + | sed -e "$sed_remove_trailing_empty_line" \ + | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'` test -n "$element" || element='---' func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element" @@ -1376,7 +1400,13 @@ files=`gnulib-tool --extract-filelist $1` sed_removal_prefix='s,^,/^,' sed_removal_suffix='s,$,\$/d,' - sed_remove_files=`echo '{'; for file in $files; do echo $file | sed -e "$sed_escape_dot" -e "$sed_escape_slash" | sed -e "$sed_removal_prefix" -e "$sed_removal_suffix"; done; echo '}'` + sed_remove_files=`echo '{'; \ + for file in $files; do \ + echo $file \ + | sed -e "$sed_escape_dot" -e "$sed_escape_slash" \ + | sed -e "$sed_removal_prefix" -e "$sed_removal_suffix"; \ + done; \ + echo '}'` missed_files=`echo "$missed_files" | sed -e "$sed_remove_files"` fi