xbenjii / torrentexpander

Automatically exported from code.google.com/p/torrentexpander
0 stars 0 forks source link

line 829: [: missing `]' #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

Original issue reported on code.google.com by taylory...@gmail.com on 22 Feb 2012 at 5:45

GoogleCodeExporter commented 8 years ago
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
http://code.google.com/p/torrentexpander/source/browse/trunk/torrentexpander.sh

Thanks for your feedback

      Addictedtoscreens

Original comment by addicted...@gmail.com on 22 Feb 2012 at 9:25

GoogleCodeExporter commented 8 years ago
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!

Original comment by taylory...@gmail.com on 22 Feb 2012 at 9:37

GoogleCodeExporter commented 8 years ago
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

Original comment by addicted...@gmail.com on 22 Feb 2012 at 10:22

GoogleCodeExporter commented 8 years ago
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.

Original comment by addicted...@gmail.com on 4 Mar 2012 at 6:38