in reply to Re: storing grep output to variable
in thread storing grep output to variable
This seems to give the result I was looking for, though it's not exactly identical to any of the great solutions you all gave. Anyway thanks for curing my ignorance of grep - at least partially :)my @lines = grep /$prop/, <FILE>;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: storing grep output to variable
by wolv (Pilgrim) on Jun 09, 2004 at 13:27 UTC |