topical media & game development

talk show tell print

show-s5-secondlife.sh / sh



  #!/bin/sh
  f=$1;
  if [ ! -f f.cfg ]; then
  D=local/present/secondlife
  F=`ls D/*.jpg`;
  echo "<link rel=stylesheet href=cfg/s5/special.css>" > f.cfg
  for x in F; do
  echo "<s5>" >> f.cfg
  echo "<img src=x width=100% height=100%>" >> f.cfg
  echo "</s5>" >> f.cfg
  done;
  fi;
  


(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.