~mdw
/
sgt
/
charset
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Silly of me to overlook it: another obvious way you might like to
[sgt/charset]
/
sbcsgen.pl
diff --git
a/sbcsgen.pl
b/sbcsgen.pl
index
1907a1a
..
e2991b2
100644
(file)
--- a/
sbcsgen.pl
+++ b/
sbcsgen.pl
@@
-35,6
+35,7
@@
my @sortpriority = ();
while (<FOO>) {
chomp;
+ y/\r\n//; # robustness in the face of strange line endings
if (/^charset (.*)$/) {
$charsetname = $1;
@vals = ();