summaryrefslogtreecommitdiff
path: root/interleave
blob: 6abe1ec72bcf7f9d153f378799fd061f43697e02 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/perl

while (<>) {
    chop;
    $stuff[$i++] .= $_;
    $i = 0 if eof;
}

$" = "\n";  print "@stuff\n";