help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to edit new file in current directory ?


From: Andreas Weber
Subject: Re: How to edit new file in current directory ?
Date: Fri, 26 Jan 2018 17:41:10 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

Am 26.01.2018 um 14:59 schrieb Stephan Goldenberg:
>>> pwd
> ans = /home/oppa/Dokumente/edX/EPFL/octave/chapter4
>>> edit test.m
> cp: cannot create regular file '/home/oppa/octave/test.m': No such file
> or directory

Just a wild guess: Since "test" is a internal function and located in
/usr/..octave../m/../test.m

a copy is created and the default target for this copy is in ~/octave/
where you should have write access.

This differs if you want to edit your own function, for example
edit foobar.m which should indeed create the file at pwd.

Hoffe das hilft, Gruß von Andy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]