octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #41202] Spurious output when path() called wit


From: Rik
Subject: [Octave-bug-tracker] [bug #41202] Spurious output when path() called with 'echo on'
Date: Sat, 11 Jan 2014 05:47:50 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

Follow-up Comment #6, bug #41202 (project octave):

The issue is the same one identified earlier that 'echo on' turns on echoing
for scripts at all levels, not just toplevel scripts.  In this case, when a
directory is added to the path one of the hooks that is done is to run the
PKG_ADD script for the directory.  That is the source of all the screen
output.  I tested this by setting the path to something which has no PKG_ADD
scripts (/home) and there is no output.


echo on
x = path ();
path ("/home");  # no weird output
path (x);  # lots of output



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41202>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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