bugGNU Octave - Bugs: bug #53031, mkdir no longer tilde expands a...

 
 

bug #53031: mkdir no longer tilde expands a single argument

Submitter:  Mike Miller <mtmiller>
Submitted:  Wed 31 Jan 2018 08:20:16 PM UTC
   
 
Category:  Octave Function Severity:  4 - Important
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.2.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 31 Jan 2018 08:45:32 PM UTC, comment #1: 
Mike Miller <mtmiller>
Group Member
Wed 31 Jan 2018 08:20:16 PM UTC, original submission:  

In Octave 4.0 and previous versions, the following


>> mkdir ~/foo


would create a directory foo in the user's home directory. It was functionally equivalent to the two-argument form


>> mkdir ('~', 'foo')


In Octave 4.2.1, since changeset b8c05cc524ef, which fixed wishlist bug #30650, this has regressed:


>> mkdir ~/foo
ans =  1
>> ls ~/foo
ls: cannot access '/home/mike/foo': No such file or directory
error: ls: command exited abnormally with status 2


The function now creates a directory called "~" in the current directory and a subdirectory called "foo".

The two-argument form still works as before.

Reporting on behalf of https://lists.gnu.org/archive/html/help-octave/2018-01/msg00160.html

Mike Miller <mtmiller>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-31 mtmiller StatusConfirmed Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code