The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Unmatched 'then'
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
Unmatched 'then'
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
09-04-2001
PxT
Registered User
Join Date: Oct 2000
Location: Sacramento, CA
Posts: 905
You should enclose your if statement in square brackets:
Code:
if [ "$all_recs" = "ALL" ] then commands fi
PxT
View Public Profile
Visit PxT's homepage!
Find all posts by PxT