texlive[54168] Build/source/utils/xindy: echo '\f' is not portable,
commits+karl at tug.org
commits+karl at tug.org
Sun Mar 8 00:56:20 CET 2020
Revision: 54168
http://tug.org/svn/texlive?view=revision&revision=54168
Author: karl
Date: 2020-03-08 00:56:20 +0100 (Sun, 08 Mar 2020)
Log Message:
-----------
echo '\f' is not portable, use printf
Modified Paths:
--------------
trunk/Build/source/utils/xindy/ChangeLog
trunk/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.am
trunk/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.in
Added Paths:
-----------
trunk/Build/source/utils/xindy/TLpatches/patch-03-echo-f
Modified: trunk/Build/source/utils/xindy/ChangeLog
===================================================================
--- trunk/Build/source/utils/xindy/ChangeLog 2020-03-07 22:55:02 UTC (rev 54167)
+++ trunk/Build/source/utils/xindy/ChangeLog 2020-03-07 23:56:20 UTC (rev 54168)
@@ -1,3 +1,10 @@
+2020-03-08 Karl Berry <karl at tug.org>
+
+ * xindy-src/make-rules/alphabets/Makefile.am (alphabets-inc.tex):
+ echo '\f' is not portable; with zsh, dash, others, it outputs
+ a form feed. Use printf instead. Report from jfbu,
+ https://tug.org/pipermail/tex-live/2020-March/044966.html
+
2019-02-10 Karl Berry <karl at tug.org>
* ac/withenable.ac (KPSE_ENABLE_PROG): just disable,
Added: trunk/Build/source/utils/xindy/TLpatches/patch-03-echo-f
===================================================================
--- trunk/Build/source/utils/xindy/TLpatches/patch-03-echo-f (rev 0)
+++ trunk/Build/source/utils/xindy/TLpatches/patch-03-echo-f 2020-03-07 23:56:20 UTC (rev 54168)
@@ -0,0 +1,22 @@
+ https://tug.org/pipermail/tex-live/2020-March/044966.html
+
+--- xindy-src/make-rules/alphabets/Makefile.am (revision 54151)
++++ xindy-src/make-rules/alphabets/Makefile.am (working copy)
+@@ -2,6 +2,7 @@
+ ## autoconf/automake files.
+ ## Or, call `automake Makefile' to create only Makefile.in.
+
++## Copyright 2020 by Karl Berry <tex-live at tug.org>
+ ## Copyright (C) 2004-2005 by Gour.
+ ##
+ ## This program is free software; you can redistribute it and/or
+@@ -274,7 +275,8 @@ alphabets-inc.tex : $(DOCS)
+ echo '\section{Codepage latin9}' >>$@
+ for i in $(DOCS_LATIN9); do echo "\\input{$$i}" >>$@; done
+ echo '\ienc{cp1251}' >>$@
+- echo '\fenc{T2A}' >>$@
++# zsh, dash, others make echo '\f' output a form feed. Sigh.
++ printf '\%s{T2A}\n' "fenc" >>$@
+ echo '\chapter{Cyrillic scripts}' >>$@
+ echo '\section{Codepage 1251}' >>$@
+ for i in $(DOCS_CYR_1251); do echo "\\input{$$i}" >>$@; done
Modified: trunk/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.am
===================================================================
--- trunk/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.am 2020-03-07 22:55:02 UTC (rev 54167)
+++ trunk/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.am 2020-03-07 23:56:20 UTC (rev 54168)
@@ -2,6 +2,7 @@
## autoconf/automake files.
## Or, call `automake Makefile' to create only Makefile.in.
+## Copyright 2020 by Karl Berry <tex-live at tug.org>
## Copyright (C) 2004-2005 by Gour.
##
## This program is free software; you can redistribute it and/or
@@ -274,7 +275,8 @@
echo '\section{Codepage latin9}' >>$@
for i in $(DOCS_LATIN9); do echo "\\input{$$i}" >>$@; done
echo '\ienc{cp1251}' >>$@
- echo '\fenc{T2A}' >>$@
+# zsh, dash, others make echo '\f' output a form feed. Sigh.
+ printf '\%s{T2A}\n' "fenc" >>$@
echo '\chapter{Cyrillic scripts}' >>$@
echo '\section{Codepage 1251}' >>$@
for i in $(DOCS_CYR_1251); do echo "\\input{$$i}" >>$@; done
Modified: trunk/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.in
===================================================================
--- trunk/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.in 2020-03-07 22:55:02 UTC (rev 54167)
+++ trunk/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.in 2020-03-07 23:56:20 UTC (rev 54168)
@@ -1043,7 +1043,8 @@
echo '\section{Codepage latin9}' >>$@
for i in $(DOCS_LATIN9); do echo "\\input{$$i}" >>$@; done
echo '\ienc{cp1251}' >>$@
- echo '\fenc{T2A}' >>$@
+# zsh, dash, others make echo '\f' output a form feed. Sigh.
+ printf '\%s{T2A}\n' "fenc" >>$@
echo '\chapter{Cyrillic scripts}' >>$@
echo '\section{Codepage 1251}' >>$@
for i in $(DOCS_CYR_1251); do echo "\\input{$$i}" >>$@; done
More information about the tex-live-commits
mailing list.