all: echo "Golem session

Golem session: `cat Komora/StartTime`

session: `cat Komora/AktDir` \ \
" > index.html;\ chmod -f o+w index.html; chmod -f o+w index.html; echo "" >> index.html;\ for i in `dir -1 -r |grep -v Komora|grep -v Aktual|grep -v index.html|grep -v www|grep -v Archiv|grep -v Others|grep -v makefile|grep -v velin|grep -v jpg`; do \ if [ `stat --format="%s" $$i/loopcomment 2>/dev/null ` -ge "2" 2>/dev/null ];then echo "">>index.html;fi; \ if [ `stat --format="%s" $$i/wwwcomment` -ge "2" ];then echo "">>index.html;fi; \ \ echo "">>index.html;\ \ echo "">>index.html;\ echo -ne "" >>index.html;\ \ if [ `stat --format="%s" $$i/shotpostcomment 2>/dev/null ` -ge "2" 2>/dev/null ];then echo "">>index.html;fi; \ if [ `stat --format="%s" $$i/loopcomment 2>/dev/null ` -ge "2" 2>/dev/null ];then echo "">>index.html;fi; \ PlasmaStatus=`cat $$i/basicdiagn/Plasma`;\ if [ "$$PlasmaStatus" = "1" ]; then \ echo "">>index.html;\ fi;\ done;\ echo "
End of the loop: "`cat $$i/loopcomment`"
Shot (pre) comment: "`cat $$i/wwwcomment`"
`cat $$i/ShotNo` (`cat $$i/starttime_`)(UB,UBD,UCD,UST)=(`cat $$i/nabijeni/Ub_limit`,`cat $$i/nabijeni/Ubd_limit`(`cat $$i/Tbd_aktual|awk '{printf "%3.1f ms",$$1/1000}'`),`cat $$i/nabijeni/Ucd_limit`(`cat $$i/Tcd_aktual|awk '{printf "%3.1f ms",$$1/1000}'`),`cat $$i/nabijeni/Ust_limit`(`cat $$i/Tst_aktual|awk '{printf "%3.1f ms",$$1/1000}'`)) [V]pH2=`cat $$i/Initial_PfeifferMerkaVakua`->`cat $$i/Aktual_PfeifferMerkaVakua` mPa ,Tch=`cat $$i/Aktual_TermoclanekNaKomore` °C.
H2Fill:" >>index.html;if [ `cat $$i/H2filling` -eq 1 ]; then echo "(`cat $$i/pressure_setting_mPa`)" >>index.html;fi;echo "
PrimReactor:" >>index.html;if [ `cat $$i/PrimaryReactor` -eq 1 ]; then echo "" >>index.html;fi;echo "
PreIonization:" >>index.html;if [ `cat $$i/PreIonization` -eq 1 ]; then echo "" >>index.html;fi;echo "
">>index.html;\ if [ -f $$i/diagnostics/Radiation/0612HXR.ON/icon.png ]; then echo -ne "">>index.html;fi;\ if [ -f $$i/diagnostics/Radiation/0211FastCamera.ON/1/icon.png ] && [ ! -f $$i/diagnostics/Radiation/0211FastCamera.ON/2/icon.png ]; then echo -ne "">>index.html;fi;\ if [ ! -f $$i/diagnostics/Radiation/0211FastCamera.ON/1/icon.png ] && [ -f $$i/diagnostics/Radiation/0211FastCamera.ON/2/icon.png ]; then echo -ne "">>index.html;fi;\ if [ -f $$i/diagnostics/Radiation/0211FastCamera.ON/1/icon.png ] && [ -f $$i/diagnostics/Radiation/0211FastCamera.ON/2/icon.png ]; then echo -ne "">>index.html;fi;\ if [ -f $$i/diagnostics/Radiation/1111Spectrometer.ON/icon.png ] && [ -f $$i/diagnostics/Radiation/1111Spectrometer.ON/data/spectra.txt ]; then echo -ne "">>index.html;fi;\ echo "

HXR

Fast camera I

Fast camera II


Fast cameras

Spectrometer
Post comment:"`cat $$i/shotpostcomment`"
Start of the loop: "`cat $$i/loopcomment`"
Δt=`cat $$i/basicdiagn/PlasmaTimeLength|awk '{printf "%3.1f ms",$$1*1000}'`, <Ip>=`cat $$i/basicdiagn/IplaMean |awk '{printf "%3.1f kA",$$1/1000}'`, UlBD=`cat $$i/basicdiagn/BreakDownVoltage|awk '{printf "%3.1f V",$$1}'` , <Ul>=`cat $$i/basicdiagn/UloopMean|awk '{printf "%3.1f V",$$1}'`, QPl=`cat $$i/basicdiagn/TotalCharge|awk '{printf "%3.1f C",$$1}'` , Te=`cat $$i/basicdiagn/ElectronTemperatureMean|awk '{printf "%3.1f eV",$$1}'`, POH=`cat $$i/basicdiagn/OhmicHeatingPowerMean|awk '{printf "%3.1f kW",$$1/1000}'` , Qed=`cat $$i/basicdiagn/QedgeMean|awk '{printf "%3.1f ",$$1}'`
" >> index.html;\