--- Tango Echo <[EMAIL PROTECTED]> wrote:It looks like those files won't be created if the script can't run but line 92 looks just wrong so maybe one of our mail clients is truncating lines or messing up the file somehow. I'm posting all this from windoze (long story) and windoze and linux use a different default line ending in text files (cr&lf opposed to just cr) so maybe if you're looking at it in Mandrake the lines might be getting juggled because of that. Try looking at the original post :
--- Phil Newcombe <[EMAIL PROTECTED]> wrote:http://lists.debian.org/debian-user/1997/debian-user-199711/msg01752.html
------------------ clipped everything -----------------dir.
I was in 9.2 when I copied the script to a win
It looks as if the copying or cutting and pasting juggled the linesup
a bit - could be because the tr part was on the wrong line theshell
got the wrong instructions. A reworked copy is pasted below and
you can find the orig here :
###########################################Hmm, I'm still getting errors. Actually I'm getting
#!/bin/sh
more now =P ... Here's an output:
I have no idea if this is useful information or not but this is the output I receive when running the orginal debian script unmodified:
sh debchek README.mirrors Testing 0 debian mirror sites for speed and reliability. Tests done : . Fastest mirrors are: mv: cannot stat `mirrors_by_speed': No such file or directory sort: open failed: mirrors_by_speed~: No such file or directory debchek: line 92: ors_by_speed~: command not found sort: open failed: mirrors_by_speed~: No such file or directory
http://lists.debian.org/debian-user/1997/debian-user-199711/msg01752.html
and see if anything looks obviously out of sync. (the backslashes at the end of some lines are escape characters that tell the shell that this is actually one long line but has been broken up for readability or to fit on the screen or page better.)
I've just posted the scripts here : http://www3.telus.net/bikim/chkmirror/
_01 is mine, _orig is the original, and _v2 is the authors next version.
-- pn
I really wish I knew more about bash scripting... I looked thru the most recent mandrake script you provided and it almost appears that there is a misplaced ' or ` character... I dunno, that's just how it appeared to me. Let me know if I can be of any more help to you in addition to testing the scripts here.
Tango
__________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
------------------------------------------------------------------------
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
