#!/bin/sh if [ "$1" = "" ] ; then echo No parameter supplied else BLACKHOLE=$HOME/projets/svn/blackhole/trunk/present for ((i=1; i<=8; i++)) do case "$1" in *.items) ./nocracks-shell -p $SOCKPATH show /=$i.html "$1" --nobullet --show $i --titleheight 73 --titleimg Presentation_PP_oct_top.jpg --titlecolor white ;; *.graph) ./nocracks-shell -p $SOCKPATH show /=$i.html "$1" --show $i --titleheight 73 --titleimg Presentation_PP_oct_top.jpg --titlecolor white ;; *.gr) ./nocracks-shell -p $SOCKPATH show /=$i.html "$1" --show $i --include $BLACKHOLE --titleheight 73 --titleimg Presentation_PP_oct_top.jpg --titlecolor white ;; *.table) ./nocracks-shell -p $SOCKPATH show /=$i.html "$1" --show $i --titleheight 76 --titleimg Presentation_PP_oct_top.jpg --titlecolor white ;; esac done fi