Subject: [PATCH] Use chomp instead of chop, as what we really want is to get rid of the line feed

From: Raphael Geissert <[email-masked]>
Date: Fri, 27 Mar 2009 10:47:02 -0600

---
 collection/file-info |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/collection/file-info b/collection/file-info
index dfa6b4c..39155f6 100755
--- a/collection/file-info
+++ b/collection/file-info
@@ -45,7 +45,7 @@ $opts{pipe_in}->blocking(1);
 open(INDEX, '<', "../index")
     or fail("cannot open index file: $!");
 while (<INDEX>) {
-    chop;
+    chomp;
     $_ = (split(" ", $_, 6))[5];
     s/ link to .*//;
     s/ -> .*//;