Help for this page

Select Code to Download


  1. or download this
    pseudo code
    check line for tabMSISDN=digits;
    if found extract digits and assign to line 
    otherwise assign MSISDN=notSet to the line for printing later
    
  2. or download this
    if (/^(\t*MSISDN=(\d+));/) {   
            
    ...
            $line = "<$2>";   #group 2
            #otherwise assign MSISDN=notSet to the line for printing later
    }
    
  3. or download this
     #!/usr/bin/perl 
    use strict;
    ...
    print OUTFILE "Update Command $line\n";
    close INFILE;
    close OUTFILE;
    
  4. or download this
    <SUBBEGIN
        MSISDN=123476789678;
    ...
        ODBIC=BIC;
        ODBOC=BAOC;
    <SUBEND
    
  5. or download this
    desired output 
    
    Update Command <123476789678>,BIC,BAOC
    Update Command MSISDN=notSet,BIC, BAOC