• R/O
  • HTTP
  • SSH
  • HTTPS

tutorial: Commit

This repository is for tutorials of Eos.


Commit MetaInfo

Revisionb47b5f601684d3b603f2764b7698b37e8b68cf04 (tree)
Time2015-02-03 09:40:14
Authorkinoshita-eos <kinoshita@yasu...>
Commiterkinoshita-eos

Log Message

Add: PIONE tutorial to compare a combined rule.
new file: SampleCode/PIONE/Basic5/Serial2_combine.pione

Change Summary

Incremental Difference

--- /dev/null
+++ b/SampleCode/PIONE/Basic5/Serial2_combine.pione
@@ -0,0 +1,14 @@
1+Rule Main
2+ input '*.in'.all
3+ output '*.out'.all
4+Flow
5+ rule FirstSecond
6+End
7+
8+Rule FirstSecond
9+ input '*.in'
10+ output '{$I[1][1]}.out'
11+Action
12+ awk '{ print $1*2 }' {$I[1]} > {$I[1][1]}.route
13+ awk '{ print $1+1 }' {$I[1][1]}.route > {$O[1]}
14+End
Show on old repository browser