+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ posix-modules: Ignore backup files of documentation files.
+ * posix-modules: grep only through files named *.texi.
+
2010-07-31 Bruno Haible <bruno@clisp.org>
symlinkat: Fix documentation.
#!/bin/sh
#
-# Copyright (C) 2002-2010 Free Software Foundation, Inc.
+# Copyright (C) 2002-2008, 2010 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
func_gnulib_dir
(
# Get the header modules.
- LC_ALL=C grep -h '^Gnulib module: ' "$gnulib_dir"/doc/posix-headers/* 2>/dev/null \
+ LC_ALL=C grep -h '^Gnulib module: ' "$gnulib_dir"/doc/posix-headers/*.texi 2>/dev/null \
| sed -e 's,^Gnulib module: ,,'
# Get the function modules.
- LC_ALL=C grep -h '^Gnulib module: ' "$gnulib_dir"/doc/posix-functions/* 2>/dev/null \
+ LC_ALL=C grep -h '^Gnulib module: ' "$gnulib_dir"/doc/posix-functions/*.texi 2>/dev/null \
| sed -e 's,^Gnulib module: ,,'
# Then filter out the words "---", ",", "and", "or" and remove *-gnu modules.
) | sed -e 's/,/ /g' | LC_ALL=C sort | LC_ALL=C uniq \