On Wed, May 29, 2002 at 11:00:51AM -0400, Simon Drabble wrote:
> which was quickly followed by
> 
> -p s#(\d)\s+([\d\.]+)#"$1 $2 ".($1>0?$2/$1:'0')#e;
> 
> Any takers?

        at first glance:

   -p s#(\d+)\s+([\d.]+)#"$& ".$2/($1||1)#e


Joy,
`/anick

-- 
"look me in the eye and if you see familiarity 
 then celebrate the contradiction 
 help me when I fall to walk unafraid"  -Walk Unafraid, R.E.M.

Reply via email to