--- /dev/null
+Rule Main
+ output 'message.txt'
+
+Action
+ echo "Hello PIONE world !" > message.txt
+End
\ No newline at end of file
--- /dev/null
+ Rule Main
+ input 'test.in'
+ output 'test.out'
+
+ Action
+ awk '{ print $1*2 }' {$I[1]} > {$O[1]}
+ End
\ No newline at end of file
--- /dev/null
+Rule Main
+ input 'test.in'
+ output '{$I[1]}.out'
+
+Action
+ awk '{ print $1*2 }' {$I[1]} > {$O[1]}
+End
\ No newline at end of file
--- /dev/null
+Rule Main
+ input 'test1.in'
+ input 'test2.in'
+ output 'test1.out'
+ output 'test2.out'
+
+Action
+ awk '{print $1*2}' {$I[1]} > {$O[1]}
+ awk '{print $1*2}' {$I[2]} > {$O[2]}
+End
\ No newline at end of file
--- /dev/null
+Rule Main
+ input 'test1.in'
+ input 'test2.in'
+ output 'test1.out'
+ output 'test2.out'
+
+Action
+ for i in `ls *.in`; do
+ awk '{ print $1*2 }' $i > `basename $i .in`.out
+ done
+End
\ No newline at end of file
--- /dev/null
+Rule Main
+ input '*.in'.all
+ output '*.out'.all
+
+Action
+ for i in `ls *.in`; do
+ awk '{ print $1*2 }' $i > `basename $i .in`.out
+ done
+End
\ No newline at end of file
--- /dev/null
+1
+2
+3
+4
+5
+6
+7
+8
+9
--- /dev/null
+9
+8
+7
+6
+5
+4
+3
+2
+1
--- /dev/null
+1
+12
+123
+1234
+2
+23
+234
+3
+34
+4
--- /dev/null
+Rule Main
+ input '*.in'
+ output '{$I[1][1]}.out'
+Action
+ awk '{ print $1*2 }' {$I[1]} > {$O[1]}
+End
\ No newline at end of file
--- /dev/null
+1
+2
+3
+4
+5
+6
+7
+8
+9
--- /dev/null
+9
+8
+7
+6
+5
+4
+3
+2
+1
--- /dev/null
+1
+12
+123
+1234
+2
+23
+234
+3
+34
+4
--- /dev/null
+Rule Main
+ input '*.in'.all
+ output '*.out'.all
+Flow
+ rule First
+ rule Second
+End
+
+Rule First
+ input '*.in'
+ output '{$I[1][1]}.route'
+Action
+ awk '{ print $1*2 }' {$I[1]} > {$O[1]}
+End
+
+Rule Second
+ input '*.route'
+ output '{$I[1][1]}.out'
+Action
+ awk '{ print $1+1 }' {$I[1]} > {$O[1]}
+End
\ No newline at end of file
--- /dev/null
+1
+2
+3
+4
+5
+6
+7
+8
+9