diff --git a/grep.php b/grep.php index 98fbf4e..2ea5053 100644 --- a/grep.php +++ b/grep.php @@ -10,7 +10,7 @@ $QUERY=escapeshellarg($_GET['q']); //fwrite($fp, $_GET['q'] . " : " . $QUERY . "\n"); //fclose($fp); -exec("zgrep -hi $QUERY tweets.txt", $array); +exec("zgrep -Fhi $QUERY tweets.txt", $array); $data = json_encode($array); echo $_GET['jsoncallback'] . '(' . $data . ');'; ?>