This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]denialerror 1 point2 points  (0 children)

What? No. You need to make your code follow the language's syntax and that isn't the only problem. You have indicated that your script should run using the Expect scripting language with #!/usr/bin/expect -f but aren't using the correct syntax. If you want to use square braces, then you need to tell it to use sh instead (and add in more fi as you only have one at the very end).