Okay..I still don't know how, but the linefeeds were being converted to Windows style somewhere during extraction. How this would happen between WinZip and zmodem, I don't know, but there it is.

I wrote a little PHP script to convert the windows style linefeeds to Unix style (it was the first thing I thought of off the top of my head after a long day of writing PHP scripts for work)...

$file=fopen("install.sh", "r");
$text = fread($file,filesize("install.sh"));
fclose($file);
$newtext = str_replace("\r\n","\n",$text);
$wfile=fopen("test.sh", "w");
fputs($wfile,$newtext);
?>

...moved the resulting file over to the empeg, and voila. Now I'm just curious to know how install.sh is being changed (given that the original on Frank's site isn't that way).

Perplexed...

- Chris
32GB MK2 090000664 Smoke
Queue # 2 (who the heck was 1?)
_________________________
- Chris Orig. Empeg Queue position 2