Bug 1352691 - ls incorrectly shows quotes when displaying files with a space in the name
Summary: ls incorrectly shows quotes when displaying files with a space in the name
Keywords:
Status: CLOSED DUPLICATE of bug 1349701
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: 24
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Kamil Dudka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-04 18:09 UTC by shamim.islam
Modified: 2016-07-04 20:21 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
All
Last Closed: 2016-07-04 20:21:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description shamim.islam 2016-07-04 18:09:32 UTC
Description of problem:
Terminal sessions display quotes for files with spaces in them. This is non-intuitive behavior. The file name does not have quotes unless quotes have been used in the filename. The coreutil ls has been updated to default to this new behavior. This behavior should not be foisted on users but users should be allowed to choose whether they want to OPT IN. Debian and Ubuntu distros have already reverted.


Version-Release number of selected component (if applicable): coreutils-8.25-5.fc24.x86_64


How reproducible:
Fresh install of Fedora 24. All the time.


Steps to Reproduce:
1. > "File with spaces.txt"
2. ls

Actual results:
'File with spaces.txt'

Expected results:
File with spaces.txt

Additional info:
This is a core expectation. The filename we see should be the same as the filename in use. We do not require additional tools to help us identify what is a complete filename and what is not. ESPECIALLY in the terminal session where the user is expected to be versant in POSIX. If the user needs hand-holding, they can use the GUI tools like Dolphin or Konqueror. Note - neither of these tools shows 'quotes' around files with space in the name. Neither does Windows. Neither does Mac OS.

Please revert. Please instruct coreutils developers to revert. Please set any defaults required to not show the quotes. The user should not have to discover there is no error.

E.g. I downloaded an MP3 file today with spaces. I saw the single quotes and immediately thought there was a problem in firefox naming the file on download.

This is insane.

Comment 1 Pádraig Brady 2016-07-04 20:21:22 UTC

*** This bug has been marked as a duplicate of bug 1349701 ***


Note You need to log in before you can comment on or make changes to this bug.