Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use strict;
    ...
    s/(.*),$/.$1($1),/ for @r[1..$#r];
    $r[-1] =~ s/,$/);/;
    print @r;
    
  2. or download this
    $ cat input.txt 
    module abc(
    ...
    .rist_top_tdi(rist_top_tdi),
    .rist_top_tdo(rist_top_tdo));
    $