summaryrefslogtreecommitdiff
path: root/Master/bin/sparc-linux/updmap
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-12-10 19:54:45 +0000
committerKarl Berry <karl@freefriends.org>2006-12-10 19:54:45 +0000
commit88477dc7634ee7e3a85cf58b34677c0ce57d64e8 (patch)
tree53573832545247d10eb6a94d364801874e01e849 /Master/bin/sparc-linux/updmap
parente8b52b47ee619767f576cefa4f4676363c3343d5 (diff)
sparc-linux binaries from vvv
git-svn-id: svn://tug.org/texlive/trunk@2674 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/sparc-linux/updmap')
-rwxr-xr-xMaster/bin/sparc-linux/updmap7
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/bin/sparc-linux/updmap b/Master/bin/sparc-linux/updmap
index c66303fdeee..ced046f76b9 100755
--- a/Master/bin/sparc-linux/updmap
+++ b/Master/bin/sparc-linux/updmap
@@ -1052,7 +1052,8 @@ syncWithTrees()
###############################################################################
# normalizeLines()
# remove comments, whitespace is exactly one space, no empty lines,
-# no whitespace at end of line, one space before and after "
+# no whitespace at end of line, one space before and after ",
+# no CR's (as in skaknew).
###############################################################################
normalizeLines()
{
@@ -1062,7 +1063,9 @@ normalizeLines()
-e '/^ *$/d' \
-e 's@ $@@' \
-e 's@ *" *@ " @g' \
- -e 's@" \([^"]*\) "@"\1"@g' | sort | uniq
+ -e 's@" \([^"]*\) "@"\1"@g' \
+ | tr -d '\r' \
+ | sort | uniq
}
###############################################################################