Permalink
Browse files

Ignore lines that starts with #

  • Loading branch information...
1 parent ba85582 commit 22a0fd2199066cc5b0f8de6ff7c7b287ff4f7875 @kolmodin kolmodin committed Jul 18, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 Main.hs
View
@@ -49,7 +49,7 @@ main = do
[pf,wd] -> (Just pf, wd)
packages <-
case packages_file of
- Just pf -> lines <$> readFile pf
+ Just pf -> filter (not . L.isPrefixOf "#") . lines <$> readFile pf
Nothing -> findPackages wd
let ebuilds = zip (map extractCPVR packages) packages
pretty prettyColumns prettyHeader

0 comments on commit 22a0fd2

Please sign in to comment.