# HG changeset patch # User Jim Meyering # Date 1211265949 -7200 # Node ID 60ed1a52905e398cdac516c60e0e645096972fdd # Parent 69d791e94c2d2c71b804335c06870886166384b9 remove trailing blanks diff --git a/config/srclist-update b/config/srclist-update --- a/config/srclist-update +++ b/config/srclist-update @@ -120,7 +120,7 @@ # if src was executable, make dst executable, to placate git. test -x $src && chmod a+x $dst - + if test ! -e $dst; then echo "## $srctmp $dst # new" $chicken cp -p $srctmp $dst diff --git a/doc/Makefile b/doc/Makefile --- a/doc/Makefile +++ b/doc/Makefile @@ -1,5 +1,5 @@ # $Id: Makefile,v 1.8 2007-07-06 22:56:38 haible Exp $ -# Makefile for gnulib doc. +# Makefile for gnulib doc. # Copyright (C) 2004, 2006-2008 Free Software Foundation, Inc. # # Copying and distribution of this file, with or without modification, diff --git a/doc/error.texi b/doc/error.texi --- a/doc/error.texi +++ b/doc/error.texi @@ -18,7 +18,7 @@ @code{error} is released under the LGPL, whereas @code{progname} is GPL. RMS does not want additional baggage accompanying the @code{error} module, so an LGPL user must provide their own -replacement @code{program_name}, and a GPL user should manually +replacement @code{program_name}, and a GPL user should manually specify using the @code{progname} module. Additionally, using the @code{progname} module is not something that diff --git a/doc/gnulib.texi b/doc/gnulib.texi --- a/doc/gnulib.texi +++ b/doc/gnulib.texi @@ -2984,119 +2984,119 @@ This list of functions is sorted according to the header that declares them. @menu -* Glibc aio.h:: -* Glibc aliases.h:: -* Glibc argp.h:: -* Glibc argz.h:: -* Glibc arpa/inet.h:: -* Glibc byteswap.h:: -* Glibc complex.h:: -* Glibc crypt.h:: -* Glibc ctype.h:: -* Glibc dirent.h:: -* Glibc dlfcn.h:: -* Glibc envz.h:: -* Glibc err.h:: -* Glibc errno.h:: -* Glibc error.h:: -* Glibc execinfo.h:: -* Glibc fcntl.h:: -* Glibc fenv.h:: -* Glibc fmtmsg.h:: -* Glibc fstab.h:: -* Glibc fts.h:: -* Glibc getopt.h:: -* Glibc glob.h:: -* Glibc gnu/libc-version.h:: -* Glibc grp.h:: -* Glibc ifaddrs.h:: -* Glibc langinfo.h:: -* Glibc libintl.h:: -* Glibc link.h:: -* Glibc locale.h:: -* Glibc malloc.h:: -* Glibc math.h:: -* Glibc mcheck.h:: -* Glibc monetary.h:: -* Glibc mntent.h:: -* Glibc netdb.h:: -* Glibc netinet/ether.h:: -* Glibc netinet/in.h:: -* Glibc obstack.h:: -* Glibc printf.h:: -* Glibc pthread.h:: -* Glibc pwd.h:: -* Glibc regex.h:: -* Glibc regexp.h:: -* Glibc resolv.h:: -* Glibc rpc/auth.h:: -* Glibc rpc/auth_des.h:: -* Glibc rpc/auth_unix.h:: -* Glibc rpc/clnt.h:: -* Glibc rpc/des_crypt.h:: -* Glibc rpc/key_prot.h:: -* Glibc rpc/netdb.h:: -* Glibc rpc/pmap_clnt.h:: -* Glibc rpc/pmap_prot.h:: -* Glibc rpc/pmap_rmt.h:: -* Glibc rpc/rpc_msg.h:: -* Glibc rpc/svc.h:: -* Glibc rpc/xdr.h:: -* Glibc rpcsvc/nislib.h:: -* Glibc rpcsvc/nis_callback.h:: -* Glibc rpcsvc/yp.h:: -* Glibc rpcsvc/yp_prot.h:: -* Glibc rpcsvc/ypclnt.h:: -* Glibc rpcsvc/ypupd.h:: -* Glibc sched.h:: -* Glibc search.h:: -* Glibc shadow.h:: -* Glibc signal.h:: -* Glibc stdio.h:: -* Glibc stdlib.h:: -* Glibc string.h:: -* Glibc sys/capability.h:: -* Glibc sys/epoll.h:: -* Glibc sys/file.h:: -* Glibc sys/fsuid.h:: -* Glibc sys/gmon.h:: -* Glibc sys/io.h and sys/perm.h:: -* Glibc sys/kdaemon.h:: -* Glibc sys/klog.h:: -* Glibc sys/mman.h:: -* Glibc sys/mount.h:: -* Glibc sys/personality.h:: -* Glibc sys/prctl.h:: -* Glibc sys/profil.h:: -* Glibc sys/ptrace.h:: -* Glibc sys/quota.h:: -* Glibc sys/reboot.h:: -* Glibc sys/sem.h:: -* Glibc sys/sendfile.h:: -* Glibc sys/socket.h:: -* Glibc sys/stat.h:: -* Glibc sys/statfs.h:: -* Glibc sys/swap.h:: -* Glibc sys/sysctl.h:: -* Glibc sys/sysinfo.h:: -* Glibc sys/syslog.h:: -* Glibc sys/sysmacros.h:: -* Glibc sys/time.h:: -* Glibc sys/timex.h:: -* Glibc sys/ustat.h:: -* Glibc sys/vlimit.h:: -* Glibc sys/vm86.h:: -* Glibc sys/vtimes.h:: -* Glibc sys/wait.h:: -* Glibc sys/xattr.h:: -* Glibc termios.h:: -* Glibc time.h:: -* Glibc ttyent.h:: -* Glibc unistd.h:: -* Glibc utmp.h:: -* Glibc utmpx.h:: -* Glibc wchar.h:: -* Glibc wctype.h:: +* Glibc aio.h:: +* Glibc aliases.h:: +* Glibc argp.h:: +* Glibc argz.h:: +* Glibc arpa/inet.h:: +* Glibc byteswap.h:: +* Glibc complex.h:: +* Glibc crypt.h:: +* Glibc ctype.h:: +* Glibc dirent.h:: +* Glibc dlfcn.h:: +* Glibc envz.h:: +* Glibc err.h:: +* Glibc errno.h:: +* Glibc error.h:: +* Glibc execinfo.h:: +* Glibc fcntl.h:: +* Glibc fenv.h:: +* Glibc fmtmsg.h:: +* Glibc fstab.h:: +* Glibc fts.h:: +* Glibc getopt.h:: +* Glibc glob.h:: +* Glibc gnu/libc-version.h:: +* Glibc grp.h:: +* Glibc ifaddrs.h:: +* Glibc langinfo.h:: +* Glibc libintl.h:: +* Glibc link.h:: +* Glibc locale.h:: +* Glibc malloc.h:: +* Glibc math.h:: +* Glibc mcheck.h:: +* Glibc monetary.h:: +* Glibc mntent.h:: +* Glibc netdb.h:: +* Glibc netinet/ether.h:: +* Glibc netinet/in.h:: +* Glibc obstack.h:: +* Glibc printf.h:: +* Glibc pthread.h:: +* Glibc pwd.h:: +* Glibc regex.h:: +* Glibc regexp.h:: +* Glibc resolv.h:: +* Glibc rpc/auth.h:: +* Glibc rpc/auth_des.h:: +* Glibc rpc/auth_unix.h:: +* Glibc rpc/clnt.h:: +* Glibc rpc/des_crypt.h:: +* Glibc rpc/key_prot.h:: +* Glibc rpc/netdb.h:: +* Glibc rpc/pmap_clnt.h:: +* Glibc rpc/pmap_prot.h:: +* Glibc rpc/pmap_rmt.h:: +* Glibc rpc/rpc_msg.h:: +* Glibc rpc/svc.h:: +* Glibc rpc/xdr.h:: +* Glibc rpcsvc/nislib.h:: +* Glibc rpcsvc/nis_callback.h:: +* Glibc rpcsvc/yp.h:: +* Glibc rpcsvc/yp_prot.h:: +* Glibc rpcsvc/ypclnt.h:: +* Glibc rpcsvc/ypupd.h:: +* Glibc sched.h:: +* Glibc search.h:: +* Glibc shadow.h:: +* Glibc signal.h:: +* Glibc stdio.h:: +* Glibc stdlib.h:: +* Glibc string.h:: +* Glibc sys/capability.h:: +* Glibc sys/epoll.h:: +* Glibc sys/file.h:: +* Glibc sys/fsuid.h:: +* Glibc sys/gmon.h:: +* Glibc sys/io.h and sys/perm.h:: +* Glibc sys/kdaemon.h:: +* Glibc sys/klog.h:: +* Glibc sys/mman.h:: +* Glibc sys/mount.h:: +* Glibc sys/personality.h:: +* Glibc sys/prctl.h:: +* Glibc sys/profil.h:: +* Glibc sys/ptrace.h:: +* Glibc sys/quota.h:: +* Glibc sys/reboot.h:: +* Glibc sys/sem.h:: +* Glibc sys/sendfile.h:: +* Glibc sys/socket.h:: +* Glibc sys/stat.h:: +* Glibc sys/statfs.h:: +* Glibc sys/swap.h:: +* Glibc sys/sysctl.h:: +* Glibc sys/sysinfo.h:: +* Glibc sys/syslog.h:: +* Glibc sys/sysmacros.h:: +* Glibc sys/time.h:: +* Glibc sys/timex.h:: +* Glibc sys/ustat.h:: +* Glibc sys/vlimit.h:: +* Glibc sys/vm86.h:: +* Glibc sys/vtimes.h:: +* Glibc sys/wait.h:: +* Glibc sys/xattr.h:: +* Glibc termios.h:: +* Glibc time.h:: +* Glibc ttyent.h:: +* Glibc unistd.h:: +* Glibc utmp.h:: +* Glibc utmpx.h:: +* Glibc wchar.h:: +* Glibc wctype.h:: @end menu @c @node Glibc a.out.h diff --git a/doc/posix-functions/chown.texi b/doc/posix-functions/chown.texi --- a/doc/posix-functions/chown.texi +++ b/doc/posix-functions/chown.texi @@ -9,7 +9,7 @@ Portability problems fixed by Gnulib: @itemize @item -When passed an argument of -1, some implementations really set the owner +When passed an argument of -1, some implementations really set the owner user/group id of the file to this value, rather than leaving that id of the file alone. @item diff --git a/doc/regexprops-generic.texi b/doc/regexprops-generic.texi --- a/doc/regexprops-generic.texi +++ b/doc/regexprops-generic.texi @@ -1,6 +1,6 @@ @c Copyright (C) 1994, 1996, 1998, 2000, 2001, 2003, 2004, 2005, 2006, 2007 @c Free Software Foundation, Inc. -@c +@c @c Permission is granted to copy, distribute and/or modify this document @c under the terms of the GNU Free Documentation License, Version 1.2 or @c any later version published by the Free Software Foundation; with no @@ -29,38 +29,38 @@ @subsection @samp{awk} regular expression syntax -The character @samp{.} matches any single character except the null character. +The character @samp{.} matches any single character except the null character. @table @samp @item + -indicates that the regular expression should match one or more occurrences of the previous atom or regexp. +indicates that the regular expression should match one or more occurrences of the previous atom or regexp. @item ? -indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. +indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. @item \+ matches a @samp{+} @item \? -matches a @samp{?}. +matches a @samp{?}. @end table -Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are invalid. Within square brackets, @samp{\} can be used to quote the following character. Character classes are not supported, so for example you would need to use @samp{[0-9]} instead of @samp{[[:digit:]]}. +Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are invalid. Within square brackets, @samp{\} can be used to quote the following character. Character classes are not supported, so for example you would need to use @samp{[0-9]} instead of @samp{[[:digit:]]}. -GNU extensions are not supported and so @samp{\w}, @samp{\W}, @samp{\<}, @samp{\>}, @samp{\b}, @samp{\B}, @samp{\`}, and @samp{\'} match @samp{w}, @samp{W}, @samp{<}, @samp{>}, @samp{b}, @samp{B}, @samp{`}, and @samp{'} respectively. +GNU extensions are not supported and so @samp{\w}, @samp{\W}, @samp{\<}, @samp{\>}, @samp{\b}, @samp{\B}, @samp{\`}, and @samp{\'} match @samp{w}, @samp{W}, @samp{<}, @samp{>}, @samp{b}, @samp{B}, @samp{`}, and @samp{'} respectively. -Grouping is performed with parentheses @samp{()}. An unmatched @samp{)} matches just itself. A backslash followed by a digit matches that digit. +Grouping is performed with parentheses @samp{()}. An unmatched @samp{)} matches just itself. A backslash followed by a digit matches that digit. -The alternation operator is @samp{|}. +The alternation operator is @samp{|}. -The characters @samp{^} and @samp{$} always represent the beginning and end of a string respectively, except within square brackets. Within brackets, @samp{^} can be used to invert the membership of the character class being specified. +The characters @samp{^} and @samp{$} always represent the beginning and end of a string respectively, except within square brackets. Within brackets, @samp{^} can be used to invert the membership of the character class being specified. @samp{*}, @samp{+} and @samp{?} are special at any point in a regular expression except: @enumerate @item At the beginning of a regular expression -@item After an open-group, signified by +@item After an open-group, signified by @samp{(} @item After the alternation operator @samp{|} @@ -69,30 +69,30 @@ -The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. +The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. @node egrep regular expression syntax @subsection @samp{egrep} regular expression syntax -The character @samp{.} matches any single character except newline. +The character @samp{.} matches any single character except newline. @table @samp @item + -indicates that the regular expression should match one or more occurrences of the previous atom or regexp. +indicates that the regular expression should match one or more occurrences of the previous atom or regexp. @item ? -indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. +indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. @item \+ matches a @samp{+} @item \? -matches a @samp{?}. +matches a @samp{?}. @end table -Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are ignored. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. Non-matching lists @samp{[^@dots{}]} do not ever match newline. +Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are ignored. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. Non-matching lists @samp{[^@dots{}]} do not ever match newline. GNU extensions are supported: @enumerate @@ -116,38 +116,38 @@ @end enumerate -Grouping is performed with parentheses @samp{()}. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{(}. +Grouping is performed with parentheses @samp{()}. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{(}. -The alternation operator is @samp{|}. +The alternation operator is @samp{|}. -The characters @samp{^} and @samp{$} always represent the beginning and end of a string respectively, except within square brackets. Within brackets, @samp{^} can be used to invert the membership of the character class being specified. +The characters @samp{^} and @samp{$} always represent the beginning and end of a string respectively, except within square brackets. Within brackets, @samp{^} can be used to invert the membership of the character class being specified. -The characters @samp{*}, @samp{+} and @samp{?} are special anywhere in a regular expression. +The characters @samp{*}, @samp{+} and @samp{?} are special anywhere in a regular expression. -The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. +The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. @node ed regular expression syntax @subsection @samp{ed} regular expression syntax -The character @samp{.} matches any single character except the null character. +The character @samp{.} matches any single character except the null character. @table @samp @item \+ -indicates that the regular expression should match one or more occurrences of the previous atom or regexp. +indicates that the regular expression should match one or more occurrences of the previous atom or regexp. @item \? -indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. -@item + and ? -match themselves. +indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. +@item + and ? +match themselves. @end table -Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are invalid. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. +Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are invalid. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. GNU extensions are supported: @enumerate @@ -171,17 +171,17 @@ @end enumerate -Grouping is performed with backslashes followed by parentheses @samp{\(}, @samp{\)}. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{\(}. +Grouping is performed with backslashes followed by parentheses @samp{\(}, @samp{\)}. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{\(}. -The alternation operator is @samp{\|}. +The alternation operator is @samp{\|}. The character @samp{^} only represents the beginning of a string when it appears: @enumerate -@item +@item At the beginning of a regular expression -@item After an open-group, signified by +@item After an open-group, signified by @samp{\(} @item After the alternation operator @samp{\|} @@ -194,7 +194,7 @@ @item At the end of a regular expression -@item Before a close-group, signified by +@item Before a close-group, signified by @samp{\)} @item Before the alternation operator @samp{\|} @@ -206,39 +206,39 @@ @item At the beginning of a regular expression -@item After an open-group, signified by +@item After an open-group, signified by @samp{\(} @item After the alternation operator @samp{\|} @end enumerate -Intervals are specified by @samp{\@{} and @samp{\@}}. Invalid intervals such as @samp{a\@{1z} are not accepted. +Intervals are specified by @samp{\@{} and @samp{\@}}. Invalid intervals such as @samp{a\@{1z} are not accepted. -The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. +The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. @node emacs regular expression syntax @subsection @samp{emacs} regular expression syntax -The character @samp{.} matches any single character except newline. +The character @samp{.} matches any single character except newline. @table @samp @item + -indicates that the regular expression should match one or more occurrences of the previous atom or regexp. +indicates that the regular expression should match one or more occurrences of the previous atom or regexp. @item ? -indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. +indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. @item \+ matches a @samp{+} @item \? -matches a @samp{?}. +matches a @samp{?}. @end table -Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are ignored. Within square brackets, @samp{\} is taken literally. Character classes are not supported, so for example you would need to use @samp{[0-9]} instead of @samp{[[:digit:]]}. +Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are ignored. Within square brackets, @samp{\} is taken literally. Character classes are not supported, so for example you would need to use @samp{[0-9]} instead of @samp{[[:digit:]]}. GNU extensions are supported: @enumerate @@ -262,17 +262,17 @@ @end enumerate -Grouping is performed with backslashes followed by parentheses @samp{\(}, @samp{\)}. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{\(}. +Grouping is performed with backslashes followed by parentheses @samp{\(}, @samp{\)}. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{\(}. -The alternation operator is @samp{\|}. +The alternation operator is @samp{\|}. The character @samp{^} only represents the beginning of a string when it appears: @enumerate -@item +@item At the beginning of a regular expression -@item After an open-group, signified by +@item After an open-group, signified by @samp{\(} @item After the alternation operator @samp{\|} @@ -285,7 +285,7 @@ @item At the end of a regular expression -@item Before a close-group, signified by +@item Before a close-group, signified by @samp{\)} @item Before the alternation operator @samp{\|} @@ -297,7 +297,7 @@ @item At the beginning of a regular expression -@item After an open-group, signified by +@item After an open-group, signified by @samp{\(} @item After the alternation operator @samp{\|} @@ -306,30 +306,30 @@ -The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. +The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. @node gnu-awk regular expression syntax @subsection @samp{gnu-awk} regular expression syntax -The character @samp{.} matches any single character. +The character @samp{.} matches any single character. @table @samp @item + -indicates that the regular expression should match one or more occurrences of the previous atom or regexp. +indicates that the regular expression should match one or more occurrences of the previous atom or regexp. @item ? -indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. +indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. @item \+ matches a @samp{+} @item \? -matches a @samp{?}. +matches a @samp{?}. @end table -Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are invalid. Within square brackets, @samp{\} can be used to quote the following character. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. +Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are invalid. Within square brackets, @samp{\} can be used to quote the following character. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. GNU extensions are supported: @enumerate @@ -353,18 +353,18 @@ @end enumerate -Grouping is performed with parentheses @samp{()}. An unmatched @samp{)} matches just itself. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{(}. +Grouping is performed with parentheses @samp{()}. An unmatched @samp{)} matches just itself. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{(}. -The alternation operator is @samp{|}. +The alternation operator is @samp{|}. -The characters @samp{^} and @samp{$} always represent the beginning and end of a string respectively, except within square brackets. Within brackets, @samp{^} can be used to invert the membership of the character class being specified. +The characters @samp{^} and @samp{$} always represent the beginning and end of a string respectively, except within square brackets. Within brackets, @samp{^} can be used to invert the membership of the character class being specified. @samp{*}, @samp{+} and @samp{?} are special at any point in a regular expression except: @enumerate @item At the beginning of a regular expression -@item After an open-group, signified by +@item After an open-group, signified by @samp{(} @item After the alternation operator @samp{|} @@ -373,28 +373,28 @@ -The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. +The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. @node grep regular expression syntax @subsection @samp{grep} regular expression syntax -The character @samp{.} matches any single character except newline. +The character @samp{.} matches any single character except newline. @table @samp @item \+ -indicates that the regular expression should match one or more occurrences of the previous atom or regexp. +indicates that the regular expression should match one or more occurrences of the previous atom or regexp. @item \? -indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. -@item + and ? -match themselves. +indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. +@item + and ? +match themselves. @end table -Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are ignored. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. Non-matching lists @samp{[^@dots{}]} do not ever match newline. +Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are ignored. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. Non-matching lists @samp{[^@dots{}]} do not ever match newline. GNU extensions are supported: @enumerate @@ -418,17 +418,17 @@ @end enumerate -Grouping is performed with backslashes followed by parentheses @samp{\(}, @samp{\)}. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{\(}. +Grouping is performed with backslashes followed by parentheses @samp{\(}, @samp{\)}. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{\(}. -The alternation operator is @samp{\|}. +The alternation operator is @samp{\|}. The character @samp{^} only represents the beginning of a string when it appears: @enumerate -@item +@item At the beginning of a regular expression -@item After an open-group, signified by +@item After an open-group, signified by @samp{\(} @item After a newline @@ -443,7 +443,7 @@ @item At the end of a regular expression -@item Before a close-group, signified by +@item Before a close-group, signified by @samp{\)} @item Before a newline @@ -457,7 +457,7 @@ @item At the beginning of a regular expression -@item After an open-group, signified by +@item After an open-group, signified by @samp{\(} @item After a newline @@ -466,56 +466,56 @@ @end enumerate -Intervals are specified by @samp{\@{} and @samp{\@}}. Invalid intervals such as @samp{a\@{1z} are not accepted. +Intervals are specified by @samp{\@{} and @samp{\@}}. Invalid intervals such as @samp{a\@{1z} are not accepted. -The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. +The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. @node posix-awk regular expression syntax @subsection @samp{posix-awk} regular expression syntax -The character @samp{.} matches any single character except the null character. +The character @samp{.} matches any single character except the null character. @table @samp @item + -indicates that the regular expression should match one or more occurrences of the previous atom or regexp. +indicates that the regular expression should match one or more occurrences of the previous atom or regexp. @item ? -indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. +indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. @item \+ matches a @samp{+} @item \? -matches a @samp{?}. +matches a @samp{?}. @end table -Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are invalid. Within square brackets, @samp{\} can be used to quote the following character. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. +Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are invalid. Within square brackets, @samp{\} can be used to quote the following character. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. -GNU extensions are not supported and so @samp{\w}, @samp{\W}, @samp{\<}, @samp{\>}, @samp{\b}, @samp{\B}, @samp{\`}, and @samp{\'} match @samp{w}, @samp{W}, @samp{<}, @samp{>}, @samp{b}, @samp{B}, @samp{`}, and @samp{'} respectively. +GNU extensions are not supported and so @samp{\w}, @samp{\W}, @samp{\<}, @samp{\>}, @samp{\b}, @samp{\B}, @samp{\`}, and @samp{\'} match @samp{w}, @samp{W}, @samp{<}, @samp{>}, @samp{b}, @samp{B}, @samp{`}, and @samp{'} respectively. -Grouping is performed with parentheses @samp{()}. An unmatched @samp{)} matches just itself. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{(}. +Grouping is performed with parentheses @samp{()}. An unmatched @samp{)} matches just itself. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{(}. -The alternation operator is @samp{|}. +The alternation operator is @samp{|}. -The characters @samp{^} and @samp{$} always represent the beginning and end of a string respectively, except within square brackets. Within brackets, @samp{^} can be used to invert the membership of the character class being specified. +The characters @samp{^} and @samp{$} always represent the beginning and end of a string respectively, except within square brackets. Within brackets, @samp{^} can be used to invert the membership of the character class being specified. @samp{*}, @samp{+} and @samp{?} are special at any point in a regular expression except the following places, where they are not allowed: @enumerate @item At the beginning of a regular expression -@item After an open-group, signified by +@item After an open-group, signified by @samp{(} @item After the alternation operator @samp{|} @end enumerate -Intervals are specified by @samp{@{} and @samp{@}}. Invalid intervals such as @samp{a@{1z} are not accepted. +Intervals are specified by @samp{@{} and @samp{@}}. Invalid intervals such as @samp{a@{1z} are not accepted. -The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. +The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. @node posix-basic regular expression syntax @@ -525,23 +525,23 @@ @subsection @samp{posix-egrep} regular expression syntax -The character @samp{.} matches any single character except newline. +The character @samp{.} matches any single character except newline. @table @samp @item + -indicates that the regular expression should match one or more occurrences of the previous atom or regexp. +indicates that the regular expression should match one or more occurrences of the previous atom or regexp. @item ? -indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. +indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. @item \+ matches a @samp{+} @item \? -matches a @samp{?}. +matches a @samp{?}. @end table -Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are ignored. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. Non-matching lists @samp{[^@dots{}]} do not ever match newline. +Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are ignored. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. Non-matching lists @samp{[^@dots{}]} do not ever match newline. GNU extensions are supported: @enumerate @@ -565,40 +565,40 @@ @end enumerate -Grouping is performed with parentheses @samp{()}. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{(}. +Grouping is performed with parentheses @samp{()}. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{(}. -The alternation operator is @samp{|}. +The alternation operator is @samp{|}. -The characters @samp{^} and @samp{$} always represent the beginning and end of a string respectively, except within square brackets. Within brackets, @samp{^} can be used to invert the membership of the character class being specified. +The characters @samp{^} and @samp{$} always represent the beginning and end of a string respectively, except within square brackets. Within brackets, @samp{^} can be used to invert the membership of the character class being specified. -The characters @samp{*}, @samp{+} and @samp{?} are special anywhere in a regular expression. +The characters @samp{*}, @samp{+} and @samp{?} are special anywhere in a regular expression. Intervals are specified by @samp{@{} and @samp{@}}. Invalid intervals are treated as literals, for example @samp{a@{1} is treated as @samp{a\@{1} -The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. +The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. @node posix-extended regular expression syntax @subsection @samp{posix-extended} regular expression syntax -The character @samp{.} matches any single character except the null character. +The character @samp{.} matches any single character except the null character. @table @samp @item + -indicates that the regular expression should match one or more occurrences of the previous atom or regexp. +indicates that the regular expression should match one or more occurrences of the previous atom or regexp. @item ? -indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. +indicates that the regular expression should match zero or one occurrence of the previous atom or regexp. @item \+ matches a @samp{+} @item \? -matches a @samp{?}. +matches a @samp{?}. @end table -Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are invalid. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. +Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are invalid. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. GNU extensions are supported: @enumerate @@ -622,38 +622,38 @@ @end enumerate -Grouping is performed with parentheses @samp{()}. An unmatched @samp{)} matches just itself. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{(}. +Grouping is performed with parentheses @samp{()}. An unmatched @samp{)} matches just itself. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{(}. -The alternation operator is @samp{|}. +The alternation operator is @samp{|}. -The characters @samp{^} and @samp{$} always represent the beginning and end of a string respectively, except within square brackets. Within brackets, @samp{^} can be used to invert the membership of the character class being specified. +The characters @samp{^} and @samp{$} always represent the beginning and end of a string respectively, except within square brackets. Within brackets, @samp{^} can be used to invert the membership of the character class being specified. @samp{*}, @samp{+} and @samp{?} are special at any point in a regular expression except the following places, where they are not allowed: @enumerate @item At the beginning of a regular expression -@item After an open-group, signified by +@item After an open-group, signified by @samp{(} @item After the alternation operator @samp{|} @end enumerate -Intervals are specified by @samp{@{} and @samp{@}}. Invalid intervals such as @samp{a@{1z} are not accepted. +Intervals are specified by @samp{@{} and @samp{@}}. Invalid intervals such as @samp{a@{1z} are not accepted. -The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. +The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. @node posix-minimal-basic regular expression syntax @subsection @samp{posix-minimal-basic} regular expression syntax -The character @samp{.} matches any single character except the null character. +The character @samp{.} matches any single character except the null character. -Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are invalid. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. +Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are invalid. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. GNU extensions are supported: @enumerate @@ -677,17 +677,17 @@ @end enumerate -Grouping is performed with backslashes followed by parentheses @samp{\(}, @samp{\)}. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{\(}. +Grouping is performed with backslashes followed by parentheses @samp{\(}, @samp{\)}. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{\(}. The character @samp{^} only represents the beginning of a string when it appears: @enumerate -@item +@item At the beginning of a regular expression -@item After an open-group, signified by +@item After an open-group, signified by @samp{\(} @end enumerate @@ -698,16 +698,16 @@ @item At the end of a regular expression -@item Before a close-group, signified by +@item Before a close-group, signified by @samp{\)} @end enumerate -Intervals are specified by @samp{\@{} and @samp{\@}}. Invalid intervals such as @samp{a\@{1z} are not accepted. +Intervals are specified by @samp{\@{} and @samp{\@}}. Invalid intervals such as @samp{a\@{1z} are not accepted. -The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. +The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups. @node sed regular expression syntax diff --git a/doc/relocatable-maint.texi b/doc/relocatable-maint.texi --- a/doc/relocatable-maint.texi +++ b/doc/relocatable-maint.texi @@ -46,7 +46,7 @@ This approach does not always work. On OpenBSD and OpenServer, prereleases of Libtool 1.5 put absolute file names of libraries in -executables, which prevents searching any other locations. +executables, which prevents searching any other locations. @item On Windows, the executable's own directory is searched for libraries, @@ -82,7 +82,7 @@ @noindent becomes: -@example +@example bindtextdomain (PACKAGE, relocate (LOCALEDIR)); @end example @@ -126,7 +126,7 @@ @item You may also need to add one or two variable assignments to your -@file{configure.ac}. +@file{configure.ac}. If your package (or any package you rely on, e.g.@: gettext-runtime) will be relocated together with a set of installed shared libraries, diff --git a/lib/argp-help.c b/lib/argp-help.c --- a/lib/argp-help.c +++ b/lib/argp-help.c @@ -88,11 +88,11 @@ int dup_args_note; /* Various output columns. */ - int short_opt_col; /* column in which short options start */ - int long_opt_col; /* column in which long options start */ + int short_opt_col; /* column in which short options start */ + int long_opt_col; /* column in which long options start */ int doc_opt_col; /* column in which doc options start */ int opt_doc_col; /* column in which option text starts */ - int header_col; /* column in which group headers are printed */ + int header_col; /* column in which group headers are printed */ int usage_indent; /* indentation of wrapped usage lines */ int rmargin; /* right margin used for wrapping */ @@ -160,7 +160,7 @@ { const char *var = getenv ("ARGP_HELP_FMT"); struct uparams new_params = uparams; - + #define SKIPWS(p) do { while (isspace ((unsigned char) *p)) p++; } while (0); if (var) @@ -169,7 +169,7 @@ while (*var) { SKIPWS (var); - + if (isalpha ((unsigned char) *var)) { size_t var_len; @@ -180,9 +180,9 @@ while (isalnum ((unsigned char) *arg) || *arg == '-' || *arg == '_') arg++; var_len = arg - var; - + SKIPWS (arg); - + if (*arg == '\0' || *arg == ',') unspec = 1; else if (*arg == '=') @@ -190,7 +190,7 @@ arg++; SKIPWS (arg); } - + if (unspec) { if (var[0] == 'n' && var[1] == 'o' && var[2] == '-') @@ -209,7 +209,7 @@ arg++; SKIPWS (arg); } - + for (un = uparam_names; un->name; un++) if (strlen (un->name) == var_len && strncmp (var, un->name, var_len) == 0) @@ -676,7 +676,7 @@ { /* If one cluster is deeper than the other, use its ancestor at the same level, so that finding the common ancestor is straightforward. - + clN->depth > 0 means that clN->parent != NULL (see hol_add_cluster) */ while (cl1->depth > cl2->depth) cl1 = cl1->parent; @@ -806,7 +806,7 @@ #endif /* Compare ignoring case, except when the options are both the same letter, in which case lower-case always comes first. */ - return lower_cmp ? lower_cmp : + return lower_cmp ? lower_cmp : (rc = first2 - first1) ? rc : HOL_ENTRY_PTRCMP(entry1, entry2); } diff --git a/lib/argp-parse.c b/lib/argp-parse.c --- a/lib/argp-parse.c +++ b/lib/argp-parse.c @@ -889,7 +889,7 @@ #endif } #endif - + if (! (flags & ARGP_NO_HELP)) /* Add our own options. */ { diff --git a/lib/argz.c b/lib/argz.c --- a/lib/argz.c +++ b/lib/argz.c @@ -241,7 +241,7 @@ size_t count = 0; assert ((argz && argz_len) || (!argz && !argz_len)); - + while (argz_len > 0) { size_t part_len = strlen (argz); @@ -249,6 +249,6 @@ argz_len -= part_len + 1; count++; } - + return count; } diff --git a/m4/argz.m4 b/m4/argz.m4 --- a/m4/argz.m4 +++ b/m4/argz.m4 @@ -28,14 +28,14 @@ AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \ argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])]) -dnl if have system argz functions, allow forced use of +dnl if have system argz functions, allow forced use of dnl libltdl-supplied implementation (and default to do so dnl on "known bad" systems). Could use a runtime check, but dnl (a) detecting malloc issues is notoriously unreliable dnl (b) only known system that declares argz functions, dnl provides them, yet they are broken, is cygwin dnl releases prior to 16-Mar-2007 (1.5.24 and earlier) -dnl So, it's more straightforward simply to special case +dnl So, it's more straightforward simply to special case dnl this for known bad systems. AS_IF([test -z "$ARGZ_H"], [AC_CACHE_CHECK( diff --git a/m4/ldd.m4 b/m4/ldd.m4 --- a/m4/ldd.m4 +++ b/m4/ldd.m4 @@ -70,16 +70,16 @@ dnl ***Loader Section*** dnl Loader Header Information dnl VERSION# #SYMtableENT #RELOCent LENidSTR - dnl 0x00000001 0x00000005 0x0000000d 0x0000001e - dnl + dnl 0x00000001 0x00000005 0x0000000d 0x0000001e + dnl dnl #IMPfilID OFFidSTR LENstrTBL OFFstrTBL - dnl 0x00000002 0x00000134 0x0000000d 0x00000152 - dnl - dnl + dnl 0x00000002 0x00000134 0x0000000d 0x00000152 + dnl + dnl dnl ***Import File Strings*** - dnl INDEX PATH BASE MEMBER - dnl 0 /usr/lib:/lib - dnl 1 libc.a shr.o + dnl INDEX PATH BASE MEMBER + dnl 0 /usr/lib:/lib + dnl 1 libc.a shr.o dnl LDDPOSTPROC="2>/dev/null | sed -e '/^[^0-9]/d' -e '/^0x/d' | sed -n -e 's,^[0-9]* *\\([^ ]*\\).*\$,\\1,p' | sed -e 's,^.*/,,'" ;; @@ -93,15 +93,15 @@ hpux*) LDDPROG="chatr" dnl The output of "LC_ALL=C chatr program" looks like this: - dnl program: - dnl shared executable + dnl program: + dnl shared executable dnl shared library dynamic path search: - dnl SHLIB_PATH disabled second + dnl SHLIB_PATH disabled second dnl embedded path disabled first Not Defined dnl shared library list: dnl dynamic /usr/lib/libc.2 dnl shared library binding: - dnl deferred + dnl deferred dnl global hash table disabled dnl plabel caching disabled dnl global hash array size:1103 @@ -126,7 +126,7 @@ dnl a.out: dnl 32-bit ELF executable dnl shared library dynamic path search: - dnl LD_LIBRARY_PATH enabled first + dnl LD_LIBRARY_PATH enabled first dnl SHLIB_PATH enabled second dnl embedded path enabled third /usr/lib/hpux32:/opt/langtools/lib/hpux32 dnl shared library list: @@ -144,7 +144,7 @@ dnl 7 text 04000000 z---c- D (default) dnl 8 data 40000000 ---m-- D (default) dnl executable from stack: D (default) - dnl kernel assisted branch prediction enabled + dnl kernel assisted branch prediction enabled dnl lazy swap allocation for dynamic segments disabled dnl nulptr references disabled dnl address space model: default diff --git a/tests/test-argp-2.sh b/tests/test-argp-2.sh --- a/tests/test-argp-2.sh +++ b/tests/test-argp-2.sh @@ -28,7 +28,7 @@ s,: [^ ]*/test-argp,: test-argp, s,: test-argp\.exe,: test-argp, }' | LC_ALL=C tr -d '\r' | diff -c $TMP - -} +} #### # Test --usage output diff --git a/top/maint.mk b/top/maint.mk --- a/top/maint.mk +++ b/top/maint.mk @@ -20,7 +20,7 @@ ME := maint.mk # List of all C-like source code files that will be tested for -# stylistic "errors". You may want to define this to something +# stylistic "errors". You may want to define this to something # more complex in Makefile.cfg. C_SOURCES ?= $(shell find . -name '*.[chly]') diff --git a/users.txt b/users.txt --- a/users.txt +++ b/users.txt @@ -55,7 +55,7 @@ texinfo http://cvs.sv.gnu.org/viewcvs/texinfo/texinfo/ wget http://hg.addictivecode.org/wget/mainline/ wydawca http://svn.gnu.org.ua/viewvc/wydawca/trunk/ - wyslij-po http://svn.gnu.org.ua/viewvc/wyslij-po/trunk/ + wyslij-po http://svn.gnu.org.ua/viewvc/wyslij-po/trunk/ The following packages are using gnulib without gnulib-tool: