[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62589] dir does not work correctly with '*' i
From: |
Patrick Häcker |
Subject: |
[Octave-bug-tracker] [bug #62589] dir does not work correctly with '*' in directory name in 7.1.0 |
Date: |
Mon, 6 Jun 2022 11:20:29 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62589>
Summary: dir does not work correctly with '*' in directory
name in 7.1.0
Project: GNU Octave
Submitter: magicmuscleman
Submitted: Mon 06 Jun 2022 03:20:27 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 7.1.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 06 Jun 2022 03:20:27 PM UTC By: Patrick Häcker <magicmuscleman>
At least in GNU/Linux it's valid to have '*' in the file name.
This can be easily created on the shell:
~> mkdir '*a' b
In Octave using the dir function with a leading slash does not work when a
wildcard is included in the directory name (it works for 'b', but not for
'*a'):
octave:1> dir('b/')
. ..
octave:2> dir('b')
. ..
octave:3> dir('*a')
*a
octave:4> dir('*a/')
octave:5> dir('\*a/')
octave:6>
This worked in previous versions. I think it worked in 6.2.0. I haven't
checked, but if I'd guess, I think trying to fix #58976 broke it.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62589>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62589] dir does not work correctly with '*' in directory name in 7.1.0,
Patrick Häcker <=
- [Octave-bug-tracker] [bug #62589] dir does not work correctly with '*' in directory name in 7.1.0, Rik, 2022/06/06
- [Octave-bug-tracker] [bug #62589] dir ('NAME*/') should list contents of directories rather than directory names, Rik, 2022/06/06
- [Octave-bug-tracker] [bug #62589] dir ('NAME*/') should list contents of directories rather than directory names, Markus Mützel, 2022/06/06
- [Octave-bug-tracker] [bug #62589] dir ('NAME*/') should list contents of directories rather than directory names, Markus Mützel, 2022/06/06
- [Octave-bug-tracker] [bug #62589] dir ('NAME*/') should list contents of directories rather than directory names, Markus Mützel, 2022/06/06
- [Octave-bug-tracker] [bug #62589] dir ('NAME*/') should list contents of directories rather than directory names, Rik, 2022/06/06
- [Octave-bug-tracker] [bug #62589] dir ('NAME*/') should list contents of directories rather than directory names, Markus Mützel, 2022/06/15