#8
|
|||
|
|||
Doh. BOM
A minute after giving up, it occurred to me to search the BBEdit lists, where I found the answer. Here is a diagnosis of the problem, my stab at an explanation, and the solution.
I had saved the file with the script encoded as UTF. That means the file had a BOM (Byte Order Mark). Whatever a BOM is, it comes before the #! (I surmise), meaning that the file won't be read as a binary file (I surmise). cat (I surmise) copied that mark so that didn't work either. Saving the file with a different encoding, UTF without the BOM, solves the problem. My share on the server gracefully disappears after SD is does its thing. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Booting from backup | guruuno | General | 27 | 10-16-2009 11:53 PM |
Errors when attempting to clone drive | russb | General | 2 | 09-01-2007 07:46 AM |
error code=3 ACL issue | vudutu | General | 9 | 12-13-2006 02:32 PM |
Copy error and crash | offdahook84 | General | 3 | 10-01-2005 10:10 PM |
Error: No space left on device | tradervic | General | 11 | 06-29-2005 04:50 PM |