summaryrefslogtreecommitdiff
path: root/Master/bin
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-11-14 02:17:09 +0000
committerKarl Berry <karl@freefriends.org>2006-11-14 02:17:09 +0000
commitfb36770826a207f9c431936b6b888a0e687987d1 (patch)
treebf6da9ba98d2307dc4cb740b01fb379e44cc2560 /Master/bin
parent89af8afe6ae2ab035329a005a7cf660e16babb0f (diff)
.
git-svn-id: svn://tug.org/texlive/trunk@2438 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin')
-rwxr-xr-xMaster/bin/i386-linux/updmap7
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/bin/i386-linux/updmap b/Master/bin/i386-linux/updmap
index c66303fdeee..ced046f76b9 100755
--- a/Master/bin/i386-linux/updmap
+++ b/Master/bin/i386-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
}
###############################################################################