OSDN Git Service

Add: PIONE tutorial to compare a combined rule. v2.0.2p0100
authorkinoshita-eos <kinoshita@yasunaga-lab.bio.kyutech.ac.jp>
Tue, 3 Feb 2015 00:40:14 +0000 (09:40 +0900)
committerkinoshita-eos <kinoshita@yasunaga-lab.bio.kyutech.ac.jp>
Tue, 3 Feb 2015 00:40:14 +0000 (09:40 +0900)
new file:   SampleCode/PIONE/Basic5/Serial2_combine.pione

SampleCode/PIONE/Basic5/Serial2_combine.pione [new file with mode: 0644]

diff --git a/SampleCode/PIONE/Basic5/Serial2_combine.pione b/SampleCode/PIONE/Basic5/Serial2_combine.pione
new file mode 100644 (file)
index 0000000..b2e1703
--- /dev/null
@@ -0,0 +1,14 @@
+Rule Main
+       input   '*.in'.all
+       output  '*.out'.all
+Flow
+       rule FirstSecond
+End
+
+Rule FirstSecond
+       input   '*.in'
+       output  '{$I[1][1]}.out'
+Action
+       awk '{ print $1*2 }' {$I[1]} > {$I[1][1]}.route 
+       awk '{ print $1+1 }' {$I[1][1]}.route    > {$O[1]}      
+End