http://qs1969.pair.com?node_id=775000


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

'Ebry haffa hoe hab im tik a bush'. Jamaican proverb
Update: -options and second solution