octave-maintainers
[Top][All Lists]
Advanced

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

Re: 2.1.51 and reshape()


From: John W. Eaton
Subject: Re: 2.1.51 and reshape()
Date: Mon, 17 Nov 2003 09:24:58 -0600

On 17-Nov-2003, Paul Soderlind <address@hidden> wrote:

| (1) To make path fail: type path and hit return.
| 
| The error message is as follows:
| 
| parse error near line 44 of file
| /usr/local/share/octave/2.1.51/m/miscellaneous/path.m
| 
|   syntax error
| 
| >>>         strrep (DEFAULT_LOADPATH, ":", "\n  ");

Please try the following patch.

Thanks,

jwe


Index: miscellaneous/path.m
===================================================================
RCS file: /usr/local/cvsroot/octave/scripts/miscellaneous/path.m,v
retrieving revision 1.6
diff -u -r1.6 path.m
--- miscellaneous/path.m        14 Nov 2003 22:46:19 -0000      1.6
+++ miscellaneous/path.m        17 Nov 2003 15:24:20 -0000
@@ -40,8 +40,9 @@
 
   if (nargin == 0)
     if (nargout == 0)
-      puts ("\nLOADPATH contains the following directories:\n\n  %s\n\n",
-           strrep (DEFAULT_LOADPATH, ":", "\n  ");
+      puts ("\nLOADPATH contains the following directories:\n\n  ");
+      puts (strrep (DEFAULT_LOADPATH, ":", "\n  "));
+      puts ("\n\n");
     else
       p = LOADPATH;
     endif



reply via email to

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