Код: Выделить всё
$n = sscanf($line, "%s.%s.%s=%s", $ws, $layer, $perm, $role);
echo $ws." - ".$layer." - ".$perm." - ".$role."\n";
Код: Выделить всё
*.*.r=* - - -
topp.*.a=jdbs_watcher - - -
Код: Выделить всё
*.*.r=*
topp.*.a=jdbs_watcher
Код: Выделить всё
topp - * - a - jdbc_watcher
Подробнее здесь: https://stackoverflow.com/questions/188 ... e-symbol-t
Мобильная версия