File:  [mozdev] / cdn / Attic / monkey
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Thu Feb 20 22:01:32 2003 UTC (16 years, 8 months ago) by cdn
Branches: MAIN
CVS tags: HEAD
root level item

#!/usr/local/bin/php -q

<?php

/*
echo "Day : ";
echo date("D", mktime(1, 1, 1, 4, 10, 1978));

echo "\n\n";

echo 'Last updated by $Author: cdn $Date: 2003/02/20 22:01:32 $');

echo "\n\n";

echo rawurlencode('sales and marketing/Miami');

echo "\n\n";
*/

$a = '  Removed:     www/protected sources.html';
$b = '               www/compact index.html';

echo "$a\n";
echo "$b\n";

$_a = substr($a, 0, 15);
$_b = substr($b, 0, 15);

echo "$_a\n";
echo "$_b\n";


$aa = substr($a, 15);
$bb = substr($b, 15);

echo "$aa\n";
echo "$bb\n";


//$a = trim($a);

//echo "$a\n";

//$a = ereg_replace('[[:space:]]{1,}', ' ', $a);

/*
echo "$a\n";

$A = 'links to files/directories ?';

echo "$A\n";

if(eregi("[^[:space:]<>]", $A))
{
  echo 'flibble' . "\n";
}
*/

?>



FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>