From b463afed782b6438403aa1b44d128c8ae0eb1c50 Mon Sep 17 00:00:00 2001 From: Alexander Wirt Date: Wed, 11 Jan 2012 13:42:02 +0100 Subject: [PATCH] Really write to tags file and close fh --- grml-tips-tags | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grml-tips-tags b/grml-tips-tags index 1bb3920..3b27469 100755 --- a/grml-tips-tags +++ b/grml-tips-tags @@ -28,4 +28,5 @@ while (my $line = <$fh>) { my %seen = (); @tags = grep { ! $seen{$_} ++ } @tags; -print join("\n", @tags) . "\n"; +print $fh join("\n", @tags) . "\n"; +close($fh) -- 2.1.4