topical media & game development

talk show tell print

show-slide.sh / sh



  #!/bin/sh
  C=`ls local/present`;
  S="show-slide";
  for p in C; do
   f=S-p;
    for x in t sh; do
      if [ ! -f f.x ]; then
         echo f.x;
         cat template-S-x | sed -e "s:PLACE:p:g" > f.x
         if [ x == "sh" ]; then chmod a+rx f.x; fi;
      fi;
    done
  done;
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.