in reply to manipulation of ps command output
Erm, have you tried perl's tr///?
$_ = "a b c"; tr/ / /s; print; [download]