Issue 56: line 829: [: missing `]'
Status:  Fixed
Owner: ----
Closed:  Mar 2012
Reported by taylory...@gmail.com, Feb 21, 2012
What steps will reproduce the problem?
1. run torrentexpander.sh /sometorrentdir/sometorrent
2. verify output: line 829: [: missing `]'

What is the expected output? What do you see instead?
I expect to not see the missing ']'!
if you look at the source, there is a bad character just after the "yes" string.


What version of the product are you using? On what operating system?
v.19, Ubuntu 11


Feb 22, 2012
Project Member #1 addicted...@gmail.com
Some spaces were replaced by an odd character (╩). I have no idea why, and the only way for me to catch them is by opening the script in word or a web browser. This didn't cause any issue on any of my computers but it seems to cause problems for you. Really weird.

Please get the latest SVN and let me know if everything works fine now
https://code.google.com/p/torrentexpander/source/browse/trunk/torrentexpander.sh

Thanks for your feedback

      Addictedtoscreens
Feb 22, 2012
#2 taylory...@gmail.com
Definitely weird. I figured it had something to do with the environment you
were working in. What do you sue to edit the bash file?
Thank you very much for your time, and this great script!
Feb 22, 2012
Project Member #3 addicted...@gmail.com
Well, my main OS is Mac OS X 10.7.3, but I'm also running torrentexpander on a daily basis on Debian 6 and Ubuntu 11.10. These weird characters never caused any issue.
I'm using BBEdit on Mac OS to write torrentexpander and except from this bug, I've never run into any issue with this software. Opening the script is currently the only way I found to detect these weird characters.

Thanks for your feedback and these compliments. I put a lot of efforts in this script so it's always goo to hear users like it.

      Addictedtoscreens
Mar 4, 2012
Project Member #4 addicted...@gmail.com
I think this issue is now solved. I'll try to keep that potential issue in mind when I'll do some more changes to the script.
Status: Fixed