Possibly it is referring to the carriage returns windows insists on
inserting before each newline in a text file.  They will somewhat
disrupt script files.  But it seems unduly laborious to print and
reenter them just to get rid of carriage returns, when there are several
proograms whose sole aim in life is to do just that.

fromdos <windows-script >linux-script

is what I use.

I don't have windows, so I couldn't do any directly relevant tests, but
when I made a copy of a script with todos and tried to run it it fell
down immediately with bash: <scriptname>: no such file or directory.
Seems #!/bin/sh\r is not a valid shell.  You might want to check your
script with bpe to see what's really there.   

If you see a hex 0d before each 0a, that is what fromdos fixes.  Or just
try it and see how you go.  I think an 0d at the end of each line could
really mess up a chat script.

Lawson
          >< Microsoft free environment

This mail client runs on Wine.  Your mileage may vary.




On Mon, 1 Mar 1999, ^Mr^ wrote:

> i wanted to download a script that'll work with my isp so , i went to a
> site :-
> http://www.woolf.com.my/woolf/HTipsISP.html  .. and on that page i see
> this :-
> 
>              IMPORTANT:  IF YOU ARE DOWNLOADING
>              SCRIPT FILES USING WINDOWS, PLEASE DO
>              NOT COPY THE FILES DIRECTLY INTO THE
>              RELEVANT DIRECTORIES.  PRINT OUT THE
>              FILES AND RECREATE THEM IN THE RELEVANT
>              DIRECTORIES.
> 
> the problem is , i'm downloading this file from win95 ...what does that
> warning even mean ? and why can't i actually download the file from win
> , and from linux , do a mount , and retreive the file ?  and if i d/l
> from win , and from linux i run setup and run the script ... with a
> ./scriptname ... nothing seems to happen .. and when i do a ps .. i see
> the pppd and chat commands .. i don't think i hear or heard my modem
> dialing though ...
> 
> 


___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

Reply via email to