linux - syntax error syntax error near unexpected token `done -


The script works but when this script has finished, I do not understand < P> My unexpected token `full 'has a big code with a syntax error

  #! / Bin / bash # function definition function process_video {python vid-xml-decoder / ultimate.py $ 1 repExport = "./ export /" find -name "* .flv" | While reading the line name = "$ (basename" $ ​​{line} ".flv)" resonance "$ {name}" ffmpeg -i "$ {name} .flv" -vcodec copy -cododic copy mkvtemp.mkv mkvmerge - V -o "$ {repExport} $ {name} .mkv" - default-track 0 --language 0: fre "$ {name} .ass" mkvtemp.mkv & amp; Amp; \ Rm -rf "$ {name}". Flv "$ {name}". Ass mkvtemp.mkv done} #Bash menu clear "DL Master" PS3 = 'Enterprise Water Chice:' options = "Build Two Cookies." "Txt" "Tà © ÃÆ'à ¢ â,¬Å¡Ãƒâ € šÃ, , Skip a video "") select "opt in $ {option [@]}", select "creation do cookies.txt") dragon vid-xml-decoder / login PA1 $ break ;; "TA © Charges de la Video") Read-P "Entre Leans Video or Rimin / A Fighter Content Day Lions on the Name:" VID If [[-E $ Weed]]; Then when the line did complete the process_video $ line & lt; $ Vid other process_video $ vid fr break ;; "Skip");; *) Unwelcome option; Esac   

This error is that the script gives me all the end

  startdl.sh: line 57: ac: command not found startdl.sh: line 58 : Unexpected token `Completed 'syntax error near startdl.sh: line 58:` full'    

Try:

  *); echo "invalid option";;    

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -