+2024-07-02 Bruno Haible <bruno@clisp.org>
+
+ uniname/uniname: Modernize gen-uninames.lisp.
+ Reported by Simon Josefsson in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2024-07/msg00011.html>.
+ * lib/uniname/gen-uninames.lisp: Swap second and third parameter. Look
+ up clisp in $PATH.
+ * lib/gen-uni-tables.c: Update invocation.
+
2024-07-01 Bruno Haible <bruno@clisp.org>
Avoid some possibly wrong configure test results.
* && diff uniwbrk/wbrkprop_org.txt uniwbrk/wbrkprop.txt \\
* && clisp -C uniname/gen-uninames.lisp \\
* /media/nas/bruno/www-archive/software/i18n/unicode/ftp.unicode.org/ArchiveVersions/15.1.0/ucd/UnicodeData.txt \\
- * uniname/uninames.h \\
* /media/nas/bruno/www-archive/software/i18n/unicode/ftp.unicode.org/ArchiveVersions/15.1.0/ucd/NameAliases.txt \\
+ * uniname/uninames.h \\
* && { sed -e 's/^/# /' -e 's/ $//' < /media/nas/bruno/www-archive/software/i18n/unicode/ftp.unicode.org/ArchiveVersions/license.txt; \\
* echo; \\
* cat /media/nas/bruno/www-archive/software/i18n/unicode/ftp.unicode.org/ArchiveVersions/15.1.0/ucd/NameAliases.txt; } \\
-#!/usr/local/bin/clisp -C
+#!/usr/bin/env -S clisp -C
-;;; Creation of gnulib's uninames.h from the UnicodeData.txt table.
+;;; Creation of gnulib's uninames.h from the UnicodeData.txt and NameAliases.txt
+;;; tables.
;;; Copyright (C) 2000-2024 Free Software Foundation, Inc.
;;; Written by Bruno Haible <bruno@clisp.org>, 2000-12-28.
length ; number of words
)
-(defun main (inputfile outputfile aliasfile)
- (declare (type string inputfile outputfile aliasfile))
+(defun main (inputfile aliasfile outputfile)
+ (declare (type string inputfile aliasfile outputfile))
#+UNICODE (setq *default-file-encoding* charset:utf-8)
(let ((all-chars '())
(all-chars-hashed (make-hash-table :test #'equal))