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

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

[Octave-bug-tracker] [bug #51388] Current directory does not change imme


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #51388] Current directory does not change immediatly with "cd" on some systems
Date: Wed, 12 Jul 2017 20:36:23 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #16, bug #51388 (project octave):

Second version, first version was a bit buggy. Second revision actually sets
the two directories correctly. Also allows you to interrupt in case it takes a
long time for some reason, the working directory should always be restored to
where you started from, interrupt or not. And a third argument is allowed to
control the number of iterations.


>> cwdtest /usr/lib /home/mike
>> cwdtest ("/usr/lib", "/home/mike/src", 1e6);


(file #41196)
    _______________________________________________________

Additional Item Attachment:

File name: cwdtest.cc                     Size:3 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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