domfs

Document Object Model as a filesystem for plan9 os
git clone git://nsmpr.xyz/domfs.git
Log | Files | Refs | README

domprint (120B)


      1 #!/bin/rc
      2 
      3 for (n in `{walk -d -n1}) {
      4 	type=`{cat $n/type}
      5 	if (test ($type '=' text) -a (-f $n/text))
      6 		cat $n/text
      7 }