aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
authorMichael Kerrisk <mtk.manpages@gmail.com>2013-09-16 04:49:38 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-09-16 05:03:49 +0200
commit404b6a03ac911d63467aa26a21d6b4a2ebd94935 (patch)
tree0a6ad7cf58d9d37b83a83031b9b3da43df0fa91a /scripts
parent87b8bb4eef865daa02b51330a69881351409c541 (diff)
downloadman-pages-404b6a03ac911d63467aa26a21d6b4a2ebd94935.tar.gz
FIXME_list.sh, add_parens_for_own_funcs.sh, find_dots_no_parens.sh, find_repeated_words.sh, find_slashes_no_parens.sh, remove_COLOPHON.sh, unformat_parens.sh: Add copyright and license
Reported-by: Felix Janda <felix.janda@posteo.de> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/FIXME_list.sh27
-rw-r--r--scripts/add_parens_for_own_funcs.sh13
-rw-r--r--scripts/find_dots_no_parens.sh15
-rw-r--r--scripts/find_repeated_words.sh15
-rw-r--r--scripts/find_slashes_no_parens.sh15
-rw-r--r--scripts/remove_COLOPHON.sh15
-rw-r--r--scripts/unformat_parens.sh13
7 files changed, 113 insertions, 0 deletions
diff --git a/scripts/FIXME_list.sh b/scripts/FIXME_list.sh
index 31f1a6e9e6..81494d62df 100644
--- a/scripts/FIXME_list.sh
+++ b/scripts/FIXME_list.sh
@@ -4,6 +4,33 @@
#
# Display FIXME segments from man-pages source files
#
+# (C) Copyright 2007 & 2013, Michael Kerrisk
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details
+# (http://www.gnu.org/licenses/gpl-2.0.html).
+#
+######################################################################
+#
+# (C) Copyright 2006 & 2013, Michael Kerrisk
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details
+# (http://www.gnu.org/licenses/gpl-2.0.html).
+#
+#
show_all="n"
while getopts "a" optname; do
diff --git a/scripts/add_parens_for_own_funcs.sh b/scripts/add_parens_for_own_funcs.sh
index 3d131ff24e..1bf6d2ac6e 100644
--- a/scripts/add_parens_for_own_funcs.sh
+++ b/scripts/add_parens_for_own_funcs.sh
@@ -53,6 +53,19 @@
#
######################################################################
#
+# (C) Copyright 2005 & 2013, Michael Kerrisk
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details
+# (http://www.gnu.org/licenses/gpl-2.0.html).
+#
+#
#
file_base="tmp.$(basename $0)"
diff --git a/scripts/find_dots_no_parens.sh b/scripts/find_dots_no_parens.sh
index f772305cf9..79d1c321cb 100644
--- a/scripts/find_dots_no_parens.sh
+++ b/scripts/find_dots_no_parens.sh
@@ -18,6 +18,21 @@
#
# cd man-pages-x.yy
# sh find_dots_no_parens.sh . man?/*.? > matches.log
+#
+######################################################################
+#
+# (C) Copyright 2005 & 2013, Michael Kerrisk
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details
+# (http://www.gnu.org/licenses/gpl-2.0.html).
+#
if test $# -lt 2; then
echo "Usage: $0 man-page-root-dir file file..." 1>&2
diff --git a/scripts/find_repeated_words.sh b/scripts/find_repeated_words.sh
index 806b747897..50133be8a1 100644
--- a/scripts/find_repeated_words.sh
+++ b/scripts/find_repeated_words.sh
@@ -8,6 +8,21 @@
#
# Usage: sh find_repeated_words.sh [file...]
#
+######################################################################
+#
+# (C) Copyright 2007 & 2013, Michael Kerrisk
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details
+# (http://www.gnu.org/licenses/gpl-2.0.html).
+#
+#
for file in "$@" ; do
words=$(MANWIDTH=2000 man -l "$file" 2> /dev/null | col -b | \
diff --git a/scripts/find_slashes_no_parens.sh b/scripts/find_slashes_no_parens.sh
index 1b4c0c4980..086faac070 100644
--- a/scripts/find_slashes_no_parens.sh
+++ b/scripts/find_slashes_no_parens.sh
@@ -18,6 +18,21 @@
#
# cd man-pages-x.yy
# sh find_slashes_no_parens.sh . man?/*.? > matches.log
+#
+######################################################################
+#
+# (C) Copyright 2005 & 2013, Michael Kerrisk
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details
+# (http://www.gnu.org/licenses/gpl-2.0.html).
+#
if test $# -lt 2; then
echo "Usage: $0 man-page-root-dir file file..." 1>&2
diff --git a/scripts/remove_COLOPHON.sh b/scripts/remove_COLOPHON.sh
index 0f56d203d4..712106656e 100644
--- a/scripts/remove_COLOPHON.sh
+++ b/scripts/remove_COLOPHON.sh
@@ -8,6 +8,21 @@
# in order to do a "diff -ruN" to see the "real" differences between
# the trees.)
#
+######################################################################
+#
+# (C) Copyright 2008 & 2013, Michael Kerrisk
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details
+# (http://www.gnu.org/licenses/gpl-2.0.html).
+#
+#
for f in "$@"; do
sed -i '/^\.SH COLOPHON/,$d' "$f"
done
diff --git a/scripts/unformat_parens.sh b/scripts/unformat_parens.sh
index 977994d234..06bbb48cd3 100644
--- a/scripts/unformat_parens.sh
+++ b/scripts/unformat_parens.sh
@@ -20,6 +20,19 @@
#
######################################################################
#
+# (C) Copyright 2005 & 2013, Michael Kerrisk
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details
+# (http://www.gnu.org/licenses/gpl-2.0.html).
+#
+#
file_base="tmp.$(basename $0)"