[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53031] mkdir no longer tilde expands a single
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #53031] mkdir no longer tilde expands a single argument |
Date: |
Wed, 31 Jan 2018 15:20:17 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0 |
URL:
<http://savannah.gnu.org/bugs/?53031>
Summary: mkdir no longer tilde expands a single argument
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Wed 31 Jan 2018 12:20:16 PM PST
Category: Octave Function
Severity: 4 - Important
Priority: 5 - Normal
Item Group: Regression
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.1
Operating System: GNU/Linux
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53031>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53031] mkdir no longer tilde expands a single argument,
Mike Miller <=