19 Jan 2022 05:50:02 UTC
- Distribution: PerlPowerTools
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Testers (184 / 1 / 0)
- KwaliteeBus factor: 1
- 85.29% Coverage
- License: perl_5
- Perl: v5.8.0
- Activity24 month
- Download (343.26KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
look - find lines in a sorted list
look [ -df ] string [ file ... ]
Look uses a binary search against a sorted file to print out all lines that begin with the given string. It does make use of Perl's
The -d and -f options affect comparisons as in sort(1):
`Dictionary' order: only non-alphanumerics and underscores participate in comparisons.
Fold. Upper case letters compare equal to lower case.
If no file is specified, /usr/dict/words (or /usr/share/dict/words if the former is missing) is assumed with a collating sequence -df.
sort(1), grep(1), perllocale
look has no known bugs.
The Perl implementation of look was written by Tom Christiansen, firstname.lastname@example.org.
This program is copyright (c) Tom Christiansen 1999.
This program is free and open software. You may use, modify, distribute, and sell this program (and any modified variants) in any way you wish, provided you do not restrict others from doing the same.
Module Install Instructions
To install PerlPowerTools, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install PerlPowerTools
For more information on module installation, please visit the detailed CPAN module installation guide.