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

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

[Octave-bug-tracker] [bug #53354] print() with ampersand (&) in path or


From: Gregory White
Subject: [Octave-bug-tracker] [bug #53354] print() with ampersand (&) in path or name crash (windows 64)
Date: Thu, 15 Mar 2018 18:37:08 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

URL:
  <http://savannah.gnu.org/bugs/?53354>

                 Summary: print() with ampersand (&) in path or name crash
(windows 64)
                 Project: GNU Octave
            Submitted by: gwhite
            Submitted on: Thu 15 Mar 2018 10:37:06 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: Gregory White
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: other
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

The "&" symbol is valid in Windows (w7_64) for filenames or paths. It seems to
cause a crash with the print command:


plot(0:1,0:1),print("C:/test.eps",'-depsc')     %Octave does not crash/close
plot(0:1,0:1),print("C:/V&V/test.eps",'-depsc') % Octave does crash/close
plot(0:1,0:1),print("C:/V&Vtest.eps",'-depsc')  % Octave does crash /close


It doesn't seem to tolerate the "&" symbol in the filename or the path. I did
some looking to see if an escape was needed for &, but did not find anything.

This works fine, btw:

addpath("C:/V&V/")


Also, a SAVE AS with the figure window allows a PDF save to a folder including
&.

>> version
ans = 4.2.2





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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