Home > Syntax Error > Bash Unexpected End Of File While Looking For Matching

Bash Unexpected End Of File While Looking For Matching

Contents

The script : #!/bin/bash declare -i s declare -i m declare -i h if [ "$3" < 50 ]; then s=$3+10 m=$2 h=$1 else if ["$2" < 50 ]; then s=$3-50 LinuxQuestions.org > http://internetmairie.com/syntax-error/syntax-error-unexpected-end-of-file-bash.html

I get this error message : "sub_change_dirrect: line 14: syntax error: unexpected end of file" bash scripts share|improve this question edited Jun 3 '12 at 12:54 adempewolff 5,71011943 asked Jun 3 more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed current community chat Unix & Linux Unix & Linux Meta your communities Sign up or log in to customize your list. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the

Bash Unexpected End Of File While Looking For Matching

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed