Michael,
Thanks for the reply. I try not to use Windoze or DOS
when I can. Normally I use vi to edit. This might have
been a cut&paste job on Linux, I don't remember now.
In any case, the ^M's didn't show up when I looked at
it (either in vi or view) last night. I'll check that
out anyway.
Again, thanks for the suggestion.
Jim
--- Michael Doerner <[EMAIL PROTECTED]> wrote:
> .... cut ...
> > When I
> > tried to run it by hand, my shell (ksh) would say
> that
> > it couldn't find it. I tried in the /etc/rc.d
> > directory, I tried using full path name, I tried
> > chmoding it to 777 (I'm root) and then running it.
> > Nothing worked. The file exists, ls sees it, I
> used
> > the -F option to display an '*' after the file
> name so
> > I'd see white space in the filename if there was
> any.
> > There was none.
> > In the rc.d directory I tried './rc.firewall', I
> also
> > tried cutting the name from the results of a
> directory
> > listing and pasting it to the command line. How
> else
> > can I run this script?
> Hi Jim,
> 
> I have seen that sort of behaviour after the script
> was created with a
> Windows editor (and stored on the Linux box through
> Samba). DOS/Windows
> handles cr/lf differently.
> Open that script with you preferred Linux editor (I
> use pico, can't learn
> vi), make a dummy change which you redo after it.
> Maybe you should also
> check where the last line of the file ends with a
> cr. Then save and try to
> start the script.
> 
> Hope that helps.
> 
> Regards,
> Michael Doerner
> 


__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to