Help for this page

Select Code to Download


  1. or download this
    w1
    w2
    ...
    [t4 w4]
    w5
    w6
    
  2. or download this
    w1
    w2
    ...
    w4 t4
    w5
    w6
    
  3. or download this
    use strict;
      my $file = $ARGV[0];
    ...
      my @file =<IN>;
      close IN;
    m/\[(\S+)\s(\S+)\]/ ? print qq[$2 $1\n] :print qq[$_] for @file;
    
  4. or download this
    w1
    w2
    ...
    [t4 w4]
    w5
    w6