in reply to File search using Grep
Better read the file line by line:
perl -e ' open(FILE, '<','/tmp/Config1'); while(<FILE>){ print if /9344151299/i }; close FILE; ' # Or perl -ne 'print if /9344151299/i' /tmp/Config1
hth,
PooLpi
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File search using Grep
by johngg (Canon) on Jun 26, 2009 at 10:20 UTC | |
by Anonymous Monk on Jun 26, 2009 at 14:35 UTC | |
by zwon (Abbot) on Jun 26, 2009 at 19:20 UTC | |
by mzedeler (Pilgrim) on Jun 27, 2009 at 19:28 UTC |