14 if ($argc < 2 || empty($argv[1])) {
15 print
"please specify the file you want to parse.\n";
19 $scanning_file = $argv[1];
21 $handle = fopen($scanning_file,
"r");
23 while (($line = fgets($handle)) !==
false) {
24 if (empty($line)) exit;
26 if (strstr($line,
"LS_")) print
"$line";
28 $res = explode(
"\"", $line);
30 if (2 > $count)
continue;
33 for($i = $count - 1; $i >=0; $i--)
35 if (strstr($res[$i],
";"))