[Za-pm] Scripting

Piet le Roux pgp at consys.co.za
Wed Jun 1 12:42:17 PDT 2005


One of the ways:

#!/usr/bin/perl

use strict;
use warnings;

while (<>) {
  chomp;
  if (/^$/) {
    print "\n";
  } else {
    print "$_,";
  }
}

On Wednesday 01 June 2005 16:19, Samuel Fourie [ MTN - Innovation Centre ] 
wrote:
> d 10
> bbb 20


More information about the Za-pm mailing list