From octave-maintainers-request at bevo dot che dot wisc dot edu Mon Nov 17 09:25:17 2003 Subject: Re: 2.1.51 and reshape() From: "John W. Eaton" To: "Paul Soderlind" Cc: octave-maintainers mailing list Date: Mon, 17 Nov 2003 09:24:58 -0600 On 17-Nov-2003, Paul Soderlind 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 at @ -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