summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/TLpatches/patch-03-echo-f
blob: 33c9b4f050d044b31bae00f322830f6038731ae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
	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@tug.org>
 ## Copyright (C) 2004-2005 by Gour.
 ##
 ## This program is free software; you can redistribute it and/or
@@ -245,7 +246,9 @@
 
 alphabets-inc.tex : $(DOCS)
 	$(RM) $@
-	echo '\chapter{Latin scripts}' >>$@
+# zsh, dash, others make echo '\f' output a form feed. Likewise they
+# interpret \c (no further output). Sigh.
+	printf '\%s{Latin scripts}' "chapter" >>$@
 	echo '\ienc{cp1252}' >>$@
 	echo '\section{Codepage 1252}' >>$@
 	for i in $(DOCS_CP1252); do echo "\\input{$$i}" >>$@; done
@@ -274,8 +277,8 @@
 	echo '\section{Codepage latin9}' >>$@
 	for i in $(DOCS_LATIN9); do echo "\\input{$$i}" >>$@; done
 	echo '\ienc{cp1251}' >>$@
-	echo '\fenc{T2A}' >>$@
-	echo '\chapter{Cyrillic scripts}' >>$@
+	printf '\%s{T2A}\n' "fenc" >>$@
+	printf '\%s{Cyrillic scripts}' "chapter" >>$@
 	echo '\section{Codepage 1251}' >>$@
 	for i in $(DOCS_CYR_1251); do echo "\\input{$$i}" >>$@; done
 #	echo '\ienc{iso-8859-7}' >>$@