[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34071] run can't find and execute file with f
From: |
Andriy Shinkarchuck |
Subject: |
[Octave-bug-tracker] [bug #34071] run can't find and execute file with filename starting with a number |
Date: |
Fri, 19 Aug 2011 01:57:42 +0000 |
User-agent: |
Midori/0.2 (X11; Linux; U; en-us) WebKit/531.2+ |
URL:
<http://savannah.gnu.org/bugs/?34071>
Summary: run can't find and execute file with filename
starting with a number
Project: GNU Octave
Submitted by: andruxoid
Submitted on: Fri 19 Aug 2011 01:57:41 AM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Inaccurate Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.4
Operating System: GNU/Linux
_______________________________________________________
Details:
While testing patch for #34065 i've noticed that octave don't want to see
files in current directory if theirs filename starting with a number and
refuses to run such files when specifiyng full path (actually like Octave GUI
does - i noticed this fact in GUI for the first). For example:
$ cd ~
$ echo "a = [1 2 3]" > 4.m
$ cat 4.m
a = [1 2 3]
$ cp 4.m chet.m
$ octave
octave:1> pwd
ans = /home/andr
octave:2> run chet.m
a =
1 2 3
octave:3> run 4.m
error: run: 4.m not found
error: called from:
error: /usr/share/octave/3.2.4/m/miscellaneous/run.m at line 55, column 7
octave:3> run '/home/andr/chet.m'
a =
1 2 3
octave:4> run '/home/andr/4.m'
error: run: file must exist and be a valid Octave script file
error: called from:
error: /usr/share/octave/3.2.4/m/miscellaneous/run.m at line 46, column 2
Any ideas?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34071>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34071] run can't find and execute file with filename starting with a number,
Andriy Shinkarchuck <=