only: A grep-like tool for filtering on words or lines.

[ console, program ] [ Propose Tags ]
Dependencies base, parsec, regex‑compat [details]
License LicenseRef-GPL
Copyright 2008 Andrew Robbins
Author Andrew Robbins <>
Maintainer Andrew Robbins <>
Category Console
Uploaded by AndrewRobbins at Tue Aug 19 01:19:24 UTC 2008
Distributions NixOS:
Executables only
Downloads 1537 total (12 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2017-01-03 [all 7 reports]
Hackage Matrix CI

The only command-line tool lets you search based on word patterns or line patterns like never before! Not only can you search with 'only -l patt' but you can select the n-th match with '-l n/patt/' and the next 3 lines with '-l /patt/0:3'.


Maintainer's Corner

For package maintainers and hackage trustees