scuffed-code/icu4c/source/tools/genprops/misc/ucdstrip.pl
Markus Scherer b9dd8c091b ICU-2427 add UCD tools
X-SVN-Rev: 11139
2003-02-21 17:59:23 +00:00

6 lines
273 B
Perl
Executable File

#!/usr/lib/perl -p
# Simple tool for Unicode Character Database files with semicolon-delimited fields.
# Removes comments behind data lines but not in others.
# The Perl option -p above runs a while(<>) loop and prints the expression output.
s/^([0-9a-fA-F]+.+?) *#.*/\1/;