<?php 
    highlight_file
(__FILE__);
    exit;
    
    if (empty(
$argv[1]))
        die(
"Usage: php oui-new-parser.php [oui-file]\n");
    
    
$data = file_get_contents($argv[1]);
    
$data = explode("\n", $data);
    foreach (
$data as $line) {
        if (
strpos($line, "(base 16)") !== false)
            
$newfile .= $line . "\r\n";
    }
    
$fid = fopen("oui-newer.txt", "w"); // I know, I should use an output file argument. And 'newer', yeah I know... :P
    
fwrite($fid, $newfile);