in reply to CGI Script Calling Grep
HTHmy @grep_result = `grep -r $string .`; foreach my $result (@grep_result) { print; }
update: Ack! yes of course; I don't write CGIs much, but I should still know better. Use -T and untaint $string, by all means.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: CGI Script Calling Grep
by muleherd (Initiate) on Sep 26, 2001 at 00:12 UTC | |
|
(arturo) Re: CGI Script Calling Grep
by arturo (Vicar) on Sep 26, 2001 at 00:12 UTC | |
|
Re: Re: CGI Script Calling Grep
by perrin (Chancellor) on Sep 26, 2001 at 00:15 UTC | |
by kjherron (Pilgrim) on Sep 26, 2001 at 10:01 UTC | |
by perrin (Chancellor) on Sep 26, 2001 at 16:35 UTC |