topical media & game development

talk show tell print

#zip-basic-old.sh / sh



  #!/bin/sh
  zip x code.html
  zip x code-basic.*
  for k in c h gif jsp aspx css sql; do
  echo zip x '*'basic'*'.k;
  zip x *basic*.k;
  done;
  
  chapters=""
  chapter="01 02 03 04 05 06 07 08 09 10 11 12 appendix"
  for k in chapter; do chapters="chapters web-html-k "; done
  web="chapters web-php- web-extra-"
  
  kind="visual web"
  kind="chapters"
  ext="txt htm xml css php c html js pdf"
  for i in kind; do
  for x in ext; do
          echo zip x basic-i'*'.x;
          zip x basic-i*.x;
          echo zip x @x-basic-i'*'.html;
          zip x @x-basic-i'*'.html;
          echo zip x *-@x-basic-i'*'.x;
          zip x *-@*-basic-i*.*;
  done
  done
  


(C) Æliens 20/2/2008

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.