#!/usr/pkg/bin/php82
<?php

// Simple script to format stack traces in apache logs, etc., so they are more
// readable.

$f = fopen('php://stdin', 'r');
while (($line = fgets($f)) !== false) {
  echo stripcslashes($line);
}
