Trailing space in file name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm running Ubuntu (Linux osboxes 5.8.0-50-generic #56~20.04.1-Ubuntu SMP Mon Apr 12 21:46:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux) in VirtualBox VM.
Filenames ending with windows CR (CRLF) contains trailing space in name.
Steps to reproduce:
copied filename on windows host (Wordpad) and pasted to Ubuntu shell (same with `touch`)
```
osboxes@
osboxes@
07_extract_
osboxes@
mv: cannot stat '07_extract_
osboxes@
osboxes@
07.sh stdin test
osboxes@
osboxes@
07_extract_
```
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSign
Uname: Linux 5.8.0-50-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sun May 2 14:19:43 2021
InstallationDate: Installed on 2020-05-03 (364 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install)