summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-05-18 08:01:39 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-05-18 08:01:39 +0200
commita146fdcd6fb2ad84625c29876c1fd1a780fbf0b3 (patch)
tree49ca622e96e1d2d588314c29540eb9bb2d13c563 /bin
parent556ea57a7ce1e072f5360c00f5cef2406dff794f (diff)
App/Hashl: files: Do not return sorted
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hashl4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/hashl b/bin/hashl
index 3948821..30b3993 100755
--- a/bin/hashl
+++ b/bin/hashl
@@ -303,7 +303,7 @@ sub cmd_list {
$hashl->read_size(),
$hashl->si_size($hashl->read_size()),
);
- for my $name ($hashl->files()) {
+ for my $name (sort $hashl->files()) {
my $file = $hashl->file($name);
printf(
"%s %-7s %s\n",
@@ -315,7 +315,7 @@ sub cmd_list {
}
sub cmd_list_files {
- say join("\n", $hashl->files());
+ say join("\n", sort $hashl->files());
}
sub cmd_list_ignored {