( ). ( ) . perl. - , whitespace .

trim.php

<> 1) {
  $file =  ($argv [1]) 
  array_walk ($file, «intrim») 
}
 //   stdout
//echo implode («\ », $file) 

 //         
file_put_contents ($argv [1], implode («\ », $file))
; >

:
- trim.php file_to_trim

whitespace ( whitespace ).