--- /dev/null
+# date.pione\r\r## Date\rOutput the current date and time.\r\r```\rdate > {$O[1]}\r```\r
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!--PLEASE DO NOT EDIT THIS FILE
+Created with Workflow PetriNet Designer Version 3.2.0 (woped.org)-->
+<pnml>
+ <net type="http://www.informatik.hu-berlin.de/top/pntd/ptNetb" id="noID">
+ <place id="p1">
+ <name>
+ <text><null</text>
+ <graphics>
+ <offset x="30" y="70"/>
+ </graphics>
+ </name>
+ <graphics>
+ <position x="30" y="30"/>
+ <dimension x="40" y="40"/>
+ </graphics>
+ </place>
+ <place id="p3">
+ <name>
+ <text>>'date.log'</text>
+ <graphics>
+ <offset x="230" y="70"/>
+ </graphics>
+ </name>
+ <graphics>
+ <position x="240" y="30"/>
+ <dimension x="40" y="40"/>
+ </graphics>
+ </place>
+ <transition id="t2">
+ <name>
+ <text>Date</text>
+ <graphics>
+ <offset x="140" y="70"/>
+ </graphics>
+ </name>
+ <graphics>
+ <position x="140" y="30"/>
+ <dimension x="40" y="40"/>
+ </graphics>
+ <toolspecific tool="WoPeD" version="1.0">
+ <time>0</time>
+ <timeUnit>1</timeUnit>
+ <orientation>1</orientation>
+ </toolspecific>
+ </transition>
+ <arc id="a1" source="p1" target="t2">
+ <inscription>
+ <text>1</text>
+ </inscription>
+ <graphics/>
+ <toolspecific tool="WoPeD" version="1.0">
+ <probability>1.0</probability>
+ <displayProbabilityOn>false</displayProbabilityOn>
+ <displayProbabilityPosition x="500.0" y="0.0"/>
+ </toolspecific>
+ </arc>
+ <arc id="a3" source="t2" target="p3">
+ <inscription>
+ <text>1</text>
+ </inscription>
+ <graphics/>
+ <toolspecific tool="WoPeD" version="1.0">
+ <probability>1.0</probability>
+ <displayProbabilityOn>false</displayProbabilityOn>
+ <displayProbabilityPosition x="500.0" y="0.0"/>
+ </toolspecific>
+ </arc>
+ <toolspecific tool="WoPeD" version="1.0">
+ <bounds>
+ <position x="11" y="33"/>
+ <dimension x="755" y="474"/>
+ </bounds>
+ <scale>100</scale>
+ <treeWidthRight>597</treeWidthRight>
+ <overviewPanelVisible>true</overviewPanelVisible>
+ <treeHeightOverview>100</treeHeightOverview>
+ <treePanelVisible>true</treePanelVisible>
+ <verticalLayout>false</verticalLayout>
+ <resources/>
+ <simulations/>
+ <partnerLinks/>
+ <variables/>
+ </toolspecific>
+ </net>
+</pnml>
\ No newline at end of file
--- /dev/null
+# date2.pione\r\r## Date\rOutput the current date and time.\r\r```\rcp {?$I[1]} {$O[1]}\rdate >> {$O[1]}\r```\r
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!--PLEASE DO NOT EDIT THIS FILE
+Created with Workflow PetriNet Designer Version 3.2.0 (woped.org)-->
+<pnml>
+ <net type="http://www.informatik.hu-berlin.de/top/pntd/ptNetb" id="noID">
+ <place id="p1">
+ <name>
+ <text><'*.in' or null</text>
+ <graphics>
+ <offset x="20" y="70"/>
+ </graphics>
+ </name>
+ <graphics>
+ <position x="40" y="30"/>
+ <dimension x="40" y="40"/>
+ </graphics>
+ </place>
+ <place id="p3">
+ <name>
+ <text>>'date.log'</text>
+ <graphics>
+ <offset x="200" y="70"/>
+ </graphics>
+ </name>
+ <graphics>
+ <position x="220" y="30"/>
+ <dimension x="40" y="40"/>
+ </graphics>
+ </place>
+ <transition id="t2">
+ <name>
+ <text>Date</text>
+ <graphics>
+ <offset x="140" y="70"/>
+ </graphics>
+ </name>
+ <graphics>
+ <position x="140" y="30"/>
+ <dimension x="40" y="40"/>
+ </graphics>
+ <toolspecific tool="WoPeD" version="1.0">
+ <time>0</time>
+ <timeUnit>1</timeUnit>
+ <orientation>1</orientation>
+ </toolspecific>
+ </transition>
+ <arc id="a1" source="p1" target="t2">
+ <inscription>
+ <text>1</text>
+ </inscription>
+ <graphics/>
+ <toolspecific tool="WoPeD" version="1.0">
+ <probability>1.0</probability>
+ <displayProbabilityOn>false</displayProbabilityOn>
+ <displayProbabilityPosition x="500.0" y="0.0"/>
+ </toolspecific>
+ </arc>
+ <arc id="a3" source="t2" target="p3">
+ <inscription>
+ <text>1</text>
+ </inscription>
+ <graphics/>
+ <toolspecific tool="WoPeD" version="1.0">
+ <probability>1.0</probability>
+ <displayProbabilityOn>false</displayProbabilityOn>
+ <displayProbabilityPosition x="500.0" y="0.0"/>
+ </toolspecific>
+ </arc>
+ <toolspecific tool="WoPeD" version="1.0">
+ <bounds>
+ <position x="11" y="33"/>
+ <dimension x="755" y="474"/>
+ </bounds>
+ <scale>100</scale>
+ <treeWidthRight>597</treeWidthRight>
+ <overviewPanelVisible>true</overviewPanelVisible>
+ <treeHeightOverview>100</treeHeightOverview>
+ <treePanelVisible>true</treePanelVisible>
+ <verticalLayout>false</verticalLayout>
+ <resources/>
+ <simulations/>
+ <partnerLinks/>
+ <variables/>
+ </toolspecific>
+ </net>
+</pnml>
\ No newline at end of file
--- /dev/null
+$Debug := false
+
+if $Debug
+ $LogFile := ('*.info' |
+ '*.pwd' |
+ '*.ls' |
+ '*.log').all
+else
+ $LogFile := null
+end
+
+Rule Main
+ input '*.txt'
+ output '{$I[1][1]}.out'
+ if $LogFile.empty?.not
+ output $LogFile
+ end
+Flow
+ rule Sub1
+End
+
+Rule Sub1
+ input '*.txt'
+ output '{$I[1][1]}.out'
+ if $LogFile.empty?.not
+ output $LogFile
+ end
+Flow
+ rule Sub2
+End
+
+Rule Sub2
+ input '*.txt'
+ output '{$I[1][1]}.out'
+ if $LogFile.empty?.not
+ output $LogFile
+ end
+Flow
+ rule Sub3
+End
+
+Rule Sub3
+ input '*.txt'
+ output '{$I[1][1]}.out'
+ if $LogFile.empty?.not
+ output $LogFile
+ end
+Action
+ touch {$O[1]}
+ wc {$I[1]} > {$I[1][1]}.info
+ pwd > {$I[1][1]}.pwd
+ ls > {$I[1][1]}.ls
+ date > {$I[1][1]}.log
+End
\ No newline at end of file