blob: b8fc93aab18583670edce598c65ad3d24f2ed762 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#! /usr/bin/perl
use strict;
use locale;
open(my $in_fh, '<', $ARGV[0]) || die;
chop(my (@words) = <$in_fh>);
close($in_fh);
$" = "\n";
my (@result) = sort @words;
print "@result\n";
|