bug in edit.m
John W. Eaton
jwe at bevo.che.wisc.edu
Tue Jan 15 17:11:56 CST 2008
On 15-Jan-2008, Ben Abbott wrote:
| Should we consider the manner that Matlab handles this?.
Sure. I propose that in the future, we simply write "WWMD?" or
"WDMD?" to ask this question. OK, I'm only half serious about that.
| On my system, Matlab will open the file in place even if it is *read-
| only*. I like that feature since I use source control. If I make
| changes, I only have to check it out before trying to save it.
|
| In the event, you "edit <somefile>" and <somefile> does not exist in
| the path, then Matlab opens the file in the pwd.
|
| Thoughts?
I see
edit /foo.m %% / exists, but no write access; opens ./foo.m instead
edit /bar/foo.m %% /bar does not exist => error
jwe
More information about the Bug-octave
mailing list