Created
May 20, 2016 19:50
-
-
Save jdoege/1debfa44457d923806bf7902b6ff7092 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use v6; | |
sub MAIN ( Str :$mapfile!, Str :$patfile!, Str :$outfile! ) { | |
say "mapfile: $mapfile"; | |
say "patfile: $patfile"; | |
say "outfile: $outfile"; | |
# Read Channel Map | |
my $MFH = open "$mapfile", :r; | |
for $MFH.lines -> $line { | |
} | |
$MFH.close; | |
# Develop list of QDR channels | |
# Read pattern / vectors, 4 at a time and convert to QDR, print out | |
my $PFH = open "$patfile", :r; | |
my $OFH = open "$outfile", :w; | |
for $PFH.lines -> $line { | |
$OFH.say($line); | |
} | |
$PFH.close; | |
$OFH.close; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment