home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 July
/
PCWorld_2000-07_cd.bin
/
Software
/
Vyzkuste
/
MicroTel
/
DDESAM
/
DDETEST.SH
< prev
Wrap
Linux/UNIX/POSIX Shell Script
|
1999-03-09
|
4KB
|
98 lines
#!/bin/ksh
###############################################################################
# ddetest.sh #
# Pomocny script programu DDESAM-simulace textove sestavy #
###############################################################################
if [ "$OSTYPE" = "Linux" ]; then
echo "\033]@ddesam.exe@"
else
echo "\033]ddesam.exe@"
fi
echo "\033[37;40m"
clear
count=1
while [ $count -gt 0 ]
do
if [ $count -eq 1 ]
then
clear
echo ""
echo ""
echo " ACME Inc."
echo " \033[1;31mObrat poboƒek - Leden 1998 - Software\033[0;37m"
echo " -------------------------------------"
echo ""
echo " Poboƒka Obrat"
echo " ------- ---------"
echo ""
echo " \033[1;32mPraha\033[0;37m 9 500 000"
echo " \033[1;32mPlzeσ\033[0;37m 3 800 000"
echo " \033[1;32mOlomouc\033[0;37m 2 350 000"
echo " \033[1;32mOstrava\033[0;37m 3 560 000"
echo " \033[1;32mBratislava\033[0;37m 3 330 000"
echo ""
echo ""
echo "S"
else
if [ $count -eq 2 ]
then
clear
echo ""
echo ""
echo " ACME Inc."
echo " \033[1;32mObrat poboƒek - Leden 1998 - Hardware\033[0;37m"
echo " -------------------------------------"
echo ""
echo " Poboƒka Obrat"
echo " ------- ---------"
echo ""
echo " \033[1;32mPraha\033[0;37m 9 000 000"
echo " \033[1;32mPlzeσ\033[0;37m 1 800 000"
echo " \033[1;32mOlomouc\033[0;37m 1 350 000"
echo " \033[1;32mOstrava\033[0;37m 1 560 000"
echo " \033[1;32mBratislava\033[0;37m 1 330 000"
echo ""
echo ""
echo "H"
else
clear
echo ""
echo ""
echo " ACME Inc."
echo " \033[1;35mObrat poboƒek - Leden 1998 - Sluºby\033[0;37m"
echo " -----------------------------------"
echo ""
echo " Poboƒka Obrat"
echo " ------- ---------"
echo ""
echo " \033[1;32mPraha\033[0;37m 5 440 000"
echo " \033[1;32mPlzeσ\033[0;37m 1 840 000"
echo " \033[1;32mOlomouc\033[0;37m 1 220 000"
echo " \033[1;32mOstrava\033[0;37m 1 440 000"
echo " \033[1;32mBratislava\033[0;37m 1 050 000"
echo ""
echo ""
echo "C"
fi
fi
echo ""
echo " Moºnosti: \033[1;33mS\033[0;37m-software \033[1;33mH\033[0;37m-hardware \033[1;33mC\033[0;37m-sluºby"
echo " \033[1;33mX\033[0;37m-konec"
read db rest
case $db in
[S]) count=1 ;;
[H]) count=2 ;;
[C]) count=3 ;;
[X]) count=0 ;;
esac
done
clear