Help for this page

Select Code to Download


  1. or download this
    my( $cr, $lf )= ( "\r", "\n" );
    ( $cr, $lf )= ( "\n", "\r" )
        if  "\r" eq "\x0a"; # On an old Mac
    
        ... s/$cr$lf/$lf/g;