in reply to emulate "fgrep -f file" with results ordered by "file"
but this does not work...That is not descriptive enough, and you haven't shown enough of your code, but here are a couple suggestions:
chomp @list;
print grep (/^\Q$test/,@large);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: emulate "fgrep -f file" with results ordered by "file"
by coldy (Scribe) on Mar 15, 2011 at 02:32 UTC | |
by Eliya (Vicar) on Mar 15, 2011 at 02:59 UTC | |
by coldy (Scribe) on Mar 15, 2011 at 03:19 UTC |