• R/O
  • HTTP
  • SSH
  • HTTPS

tutorial: Commit

This repository is for tutorials of Eos.


Commit MetaInfo

Revisiond00e69abddb693f1abeceef9c3da52a7e2dde172 (tree)
Time2015-01-19 10:54:33
Authorkinoshita-eos <kinoshita@yasu...>
Commiterkinoshita-eos

Log Message

Add: PIONE tutorial about exceptions.
new file: SampleCode/PIONE/Basic14/TextInfo.pione
new file: SampleCode/PIONE/Basic14/TextInfoInput/1.txt
new file: SampleCode/PIONE/Basic14/TextInfoInput/2.txt
new file: SampleCode/PIONE/Basic14/TextInfoInput/3.txt

Change Summary

Incremental Difference

--- /dev/null
+++ b/SampleCode/PIONE/Basic14/TextInfo.pione
@@ -0,0 +1,12 @@
1+Rule Main
2+ input '1.txt'
3+ input '2.txt'
4+ input '3.txt'
5+ output '*.txt'.all.except($I[1] or $I[2] or $I[3])
6+Action
7+ for data in {$O[1].exceptions()}
8+ do
9+ cat $data >> AllData.txt
10+ wc $data >> AllInfo.txt
11+ done
12+End
\ No newline at end of file
--- /dev/null
+++ b/SampleCode/PIONE/Basic14/TextInfoInput/1.txt
@@ -0,0 +1,3 @@
1+ABC
2+DEF
3+GHI
--- /dev/null
+++ b/SampleCode/PIONE/Basic14/TextInfoInput/2.txt
@@ -0,0 +1,2 @@
1+JKL
2+MNO
--- /dev/null
+++ b/SampleCode/PIONE/Basic14/TextInfoInput/3.txt
@@ -0,0 +1,4 @@
1+PQR
2+STU
3+VWX
4+YZa
Show on old repository browser