From 291f0acfd5331ab2f29710b156c40b0dad703ca2 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 22 Jun 2021 09:06:28 +0200 Subject: [PATCH v1 2/5] Make UCS_to_most.pl process encodings in sorted order This just makes the progress output easier to follow. --- src/backend/utils/mb/Unicode/UCS_to_most.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/utils/mb/Unicode/UCS_to_most.pl b/src/backend/utils/mb/Unicode/UCS_to_most.pl index 4f974388d7..6b699b376d 100755 --- a/src/backend/utils/mb/Unicode/UCS_to_most.pl +++ b/src/backend/utils/mb/Unicode/UCS_to_most.pl @@ -54,7 +54,8 @@ # make maps for all encodings if not specified my @charsets = (scalar(@ARGV) > 0) ? @ARGV : sort keys(%filename); -foreach my $charset (@charsets) +# the sort is just so that the output is easier to eyeball +foreach my $charset (sort @charsets) { my $mapping = &read_source($filename{$charset}); -- 2.32.0