The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-04-2001
akpopa akpopa is offline
Registered User
 

Join Date: Aug 2001
Location: South Carolina
Posts: 18
Unmatched 'then'

I am having a problem with the following statement in a korn shell script:

if "$all_recs" = "ALL"; then

commands

fi;

I keep getting the error syntax error at line 999 : 'then' unmatched.

I'm sure it is a minor problem, but have been unable to find any answers online. Any help would be appreciated. Also appreciated are any good online sources for korn shell scripting.

Thanks,

Amber Taylor


Forum Sponsor