Plates Echo

Whats wrong with my UNIX script?
it keeps coming up with this error. (bourne shell). im a beginner in UNIX and shell scripting…pls help. i dont know why its an error.pls explain
fi:syntax error
#parking rates
echo “MAHALDITO Parking”
stop=0
while test $stop = 0
do
echo ‘Plate Number’
read plate
echo ‘Time-In’
read timein
echo ‘Time-Out’
read timeout
time=$timeout – $timein
frst2=15 #first 2 hours charges 15
add4=20 #additional 4 hrs charges 20
succeeding=25 #succeeding hour charges 25
if [ $time -le 2 ]
charge=`expr $time * $frst2
echo ‘Charge: $charge’
elif [ $time -eq 4 ]
charge=`expr $time * $add4
echo ‘Charge: $charge’
elif [ $time -ge 6 ]
charge=`expr $time * $succeeding
echo ‘Charge: $charge’
echo ‘Add another car or press Q to exit’
read reply
case $reply in
“q”)
stop=1
;;
esac
fi
done
oh i forgot to close the expr with a backtick.In my original script, it already has those backticks.but still has the fi:syntax error
The backtick ` for every charge= needs to be closed with a matching backtick.
Next echo “Charge: $charge”
Let’s Play Echo Night! 12: The Quest 4 Plates *Requested by PhearTheNinja
|
|
ECHO OF DEATH SINGLE LIGHT SWITCH PLATE COVER $5.98 |
|
|
ECHO OF DEATH DOUBLE LIGHT SWITCH PLATE COVER $6.98 |
|
|
A PAIR OF OZONE PLATES 4 POPULAR AIR PURIFIERS CLEANERS XL PC ECHO ALPINE 15 $24.99 |
|
|
A PAIR OF OZONE PLATES 4 POPULAR AIR PURIFIERS CLEANERS XL PC ECHO ALPINE 15 $24.99 |
|
|
A PAIR OF OZONE PLATES 4 POPULAR AIR PURIFIERS CLEANERS XL PC ECHO ALPINE 15 $24.99 |
|
|
Pfaltzgraff Blue Pointe 16-Piece Dinnerware Set, Service for 4 $120.00 025398023929 Features: -Material: Stoneware.-Microwave, dishwasher and conventional ovensafe.-Many accessories and serving pieces available. Color/Finish: -Accented by concentric, yet slightly uneven circles that evoke the simple artistry of a country potter. Disclaimer: -Please Note: This item cannot ship to Alaska, Hawaii, or Puerto Rico. We apologize for the inconvenience. If you would like as… |
|
|
Eco Friendly Reusable Melamine 16 oz Coffee Mug / Tea Cup $6.99 Go Eco-Friendly with a durable reusable coffee or tea cup! Made of melamine, these look a like paper coffee cups are a fun way to take your morning coffee to work. With your own reusable cup, you can be eco-friendly while still having your morning cup of joe to go. These reusable “plastic” cups are made out of melamine and are perfect for your everyday cup of coffee to go! These fun cups are dishw… |
|
|
Casa Moda Echo 65-Piece Dinnerware Set, Service for 12 Echo Dinnerware by Casa Moda, with its glistening white glaze and embossed rims, combines simplicity of design with a classic timeless appeal. Microwave and dishwasher safe…. |
|
|
From Dubplate to Download: The Best Of Greensleeves Records $11.87 31 TRACKS: 1) Wailing Souls – War 2) Reggae Regulars – Where Is Jah 3) Dr Almantado – Born For A Purpose 4) Barrington Levy – Look Youthman 5) Clint Eastwood & General Saint – Another One Bites The Dust 6) Eek A Mouse – Wa Do Dem 7) Yellowman |
|
|
Inspector Morse, Volume 2 (English TV Series) $11.98 … |
|
|
Far Away in Time $11.98 … |
|
|
Elk ELK-70 Echo Speaker The Elk ELK-70 EchoTM Speaker is designed to be heard, but not seen. Without the unsightly grills of conventional speakers, the 20 Watt, 8 ohm speaker sounds “echoes” off the mounting surface from the back plate edge. This unique, contemporary speaker… |
|
|
Echo Brushed Aluminum – 1 Toggle Wallplate Decorating with wallplates is an economical way to make great impact in your home…. |
|
|
Patricia Sanders Creations – Heart Echo Deco – Light Switch Covers – single toggle switch $11.75 Heart Echo Deco Light Switch Cover is new and handcrafted utilizing unique process resulting in a stunning high gloss ceramic-like finish. SET OF MATCHING SCREWS IS INCLUDED giving it a perfect finishing touch. Made of durable metal material…. |
|
|
Yoga & Pilates (2-DVD Pack) $11.98 No Description Available.Genre: How To – YogaRating: NRRelease Date: 2-MAR-2004Media Type: DVD… |
This entry was posted on Friday, February 18th, 2005 at 2:10 pm and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
