Open diffnest opened 6 years ago
$filename = $argv[1]; $fd = fopen($filename, "rb"); while($line = fgets($fd)) { if (rand(1, 7) == 1) { echo $line; } } fclose($rd);