# HG changeset patch # User Jim Meyering # Date 1231929026 -3600 # Node ID 65a347a25104145a025d0ba61380428c89cd4098 # Parent f6cba5a556ceefb281d4e05196d6d89c7246fdd8 add ChangeLog for "many *.m4 files: improve m4 quoting" diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2009-01-14 Jim Meyering + + many *.m4 files: improve m4 quoting + 99% of this change was performed by running the following commands: + git ls-files | grep '\.m4$' | xargs perl -pi \ + -e 's/(AC_\w+\()([^[()]+?)([,)])/$1\[$2]$3/g;' \ + -e 's/(AC_\w+\((?:\[[^,]+?\], ){1})([^,[()]+?)([,)])/$1\[$2]$3/g;' \ + -e 's/(AC_\w+\((?:\[[^,]+?\], ){2})([^,[()]+?)([,)])/$1\[$2]$3/g;' \ + -e 's/(AC_\w+\((?:\[[^,]+?\], ){3})([^,[()]+?)([,)])/$1\[$2]$3/g' + perl -pi -e 's/\[\.\.\.\]/.../' m4/onceonly.m4 + The remainder were to add Copyright dates, increment serial numbers, + undo some changes in comments, exclude m4/intl.m4, and add quotes + around the "1" in ",1" where the unusual spacing prohibited the + above regexps from doing the job. For more details, see + . + 2009-01-13 Bruno Haible Avoid test-copy-file.sh failures when ACL support insufficient.