projects
/
grml-tips.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df7d2df
)
Really write to tags file and close fh
author
Alexander Wirt
<formorer@grml.org>
Wed, 11 Jan 2012 12:42:02 +0000
(13:42 +0100)
committer
Alexander Wirt
<formorer@grml.org>
Wed, 11 Jan 2012 12:42:02 +0000
(13:42 +0100)
grml-tips-tags
patch
|
blob
|
history
diff --git
a/grml-tips-tags
b/grml-tips-tags
index
1bb3920
..
3b27469
100755
(executable)
--- 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)