Re: Ed.bat won't open file - FIXED

new topic     » topic index » view thread      » older message » newer message

Robert Craig wrote:
> 
> OK, the fix for this is easy.
> I added double-quotes around the filename for Esc e in ed.ex.
> (.ex and .exw files).
> I changed ed.ex (line 1795) to read:
> }}}
<eucode>
> if platform() = LINUX then
>     shell("exu " & file_name)
> elsif match(".exw", lower(file_name)) or
>       match(".ew",  lower(file_name)) then
>     shell("exw \"" & file_name & "\"")  
> else
>     shell("ex \"" & file_name &"\"")
> end if
> </eucode>
{{{


Thank you very much Rob - it works fine now! :)

Alex Caracatsanis

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu