[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Sun, 19 Jan 2025 14:18:05 -0500 (EST) |
branch: master
commit 8c8ed7ec58b487337c5d30e038d934543f3dc30a
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Jan 19 18:45:09 2025 +0000
2025
---
grand-replace.sh | 25 +++++++++++++++++--------
tp/Texinfo/Convert/converters_defaults.txt | 2 +-
tp/Texinfo/XS/main/command_data.awk | 2 +-
tp/Texinfo/XS/main/element_types.awk | 2 +-
tp/Texinfo/XS/main/element_types.txt | 2 +-
tp/Texinfo/command_data.txt | 2 +-
tp/Texinfo/options_data.txt | 2 +-
7 files changed, 23 insertions(+), 14 deletions(-)
diff --git a/grand-replace.sh b/grand-replace.sh
index be126a602b..f94a6a4aac 100755
--- a/grand-replace.sh
+++ b/grand-replace.sh
@@ -65,7 +65,11 @@ case $1 in --list)
esac
dir=$1
-test -d "$dir" || exit 1
+if ! test -d "$dir" ; then
+ echo "no argument" >&2
+ exit 1
+fi
+
cd $dir
if $missed ; then find_missed ; exit 0 ; fi
@@ -78,14 +82,13 @@ prune="-regex ($prune_dirs) -prune"
# Don't touch this file itself
not="-not -name grand-replace.sh"
+find_dir=.
extensions='c|h|sh|pm|pl|texi|xs'
named_files='configure.ac|Makefile.am|README|README-hacking|TODO'
ext_pattern=".*\.($extensions)"
named_pattern=".*\/($named_files)"
-find_dir=.
-
change_files
find_dir=.
@@ -94,27 +97,33 @@
named_pattern='./NEWS|./INSTALL|./AUTHORS|./js/info.js|./pre-inst-env'
change_files
-prune_dirs=""
find_dir=contrib/nontests
+prune_dirs=""
ext_pattern=".*\.(sh|test)"
named_files='README|txitextest'
named_pattern=".*\/($named_files)"
change_files
-prune_dirs=""
find_dir=contrib/mass_test
+prune_dirs=""
ext_pattern=".*\.(sh)"
change_files
find_dir=util
-
-set -x
-
ext_pattern=""
named_pattern=".*"
# update these manually for now
not='-not -name htmlxref.cnf -not -name texi2dvi -not -name texi2pdf'
change_files
+
+find_dir=tp/Texinfo
+extensions='txt|awk'
+ext_pattern=".*\.($extensions)"
+named_files=""
+named_pattern=".*\/($named_files)"
+
+change_files
+
diff --git a/tp/Texinfo/Convert/converters_defaults.txt
b/tp/Texinfo/Convert/converters_defaults.txt
index e51e4f9ae2..dc9702754c 100644
--- a/tp/Texinfo/Convert/converters_defaults.txt
+++ b/tp/Texinfo/Convert/converters_defaults.txt
@@ -1,4 +1,4 @@
-# Copyright 2010-2024 Free Software Foundation, Inc.
+# Copyright 2010-2025 Free Software Foundation, Inc.
#
# This file is part of GNU Texinfo.
#
diff --git a/tp/Texinfo/XS/main/command_data.awk
b/tp/Texinfo/XS/main/command_data.awk
index a969041c33..cb824a7cc5 100644
--- a/tp/Texinfo/XS/main/command_data.awk
+++ b/tp/Texinfo/XS/main/command_data.awk
@@ -1,4 +1,4 @@
-# Copyright 2010-2024 Free Software Foundation, Inc.
+# Copyright 2010-2025 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
diff --git a/tp/Texinfo/XS/main/element_types.awk
b/tp/Texinfo/XS/main/element_types.awk
index 52db8ff0ce..46cd63cd81 100644
--- a/tp/Texinfo/XS/main/element_types.awk
+++ b/tp/Texinfo/XS/main/element_types.awk
@@ -1,4 +1,4 @@
-# Copyright 2014-2024 Free Software Foundation, Inc.
+# Copyright 2014-2025 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
diff --git a/tp/Texinfo/XS/main/element_types.txt
b/tp/Texinfo/XS/main/element_types.txt
index f5cdec6e14..001e8e8350 100644
--- a/tp/Texinfo/XS/main/element_types.txt
+++ b/tp/Texinfo/XS/main/element_types.txt
@@ -1,4 +1,4 @@
-# Copyright 2010-2024 Free Software Foundation, Inc.
+# Copyright 2010-2025 Free Software Foundation, Inc.
#
# This file is part of GNU Texinfo.
#
diff --git a/tp/Texinfo/command_data.txt b/tp/Texinfo/command_data.txt
index cbc3bcae8b..9ac7fd8131 100644
--- a/tp/Texinfo/command_data.txt
+++ b/tp/Texinfo/command_data.txt
@@ -1,4 +1,4 @@
-# Copyright 2010-2024 Free Software Foundation, Inc.
+# Copyright 2010-2025 Free Software Foundation, Inc.
#
# This file is part of GNU Texinfo.
#
diff --git a/tp/Texinfo/options_data.txt b/tp/Texinfo/options_data.txt
index 5651a7a68a..43e02e6890 100644
--- a/tp/Texinfo/options_data.txt
+++ b/tp/Texinfo/options_data.txt
@@ -1,4 +1,4 @@
-# Copyright 2010-2024 Free Software Foundation, Inc.
+# Copyright 2010-2025 Free Software Foundation, Inc.
#
# This file is part of GNU Texinfo.
#