Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'ls' display bug #6440

Closed
ZengGengSen opened this issue May 30, 2024 · 10 comments
Closed

'ls' display bug #6440

ZengGengSen opened this issue May 30, 2024 · 10 comments
Labels

Comments

@ZengGengSen
Copy link

When using ssh to connect to a terminal on another windows system, there is a problem with the file displayed

image

@tertsdiepraam
Copy link
Member

Hmmm, it's a miscalculation around the quotes probably. There were some recent changes around that

@sylvestre
Copy link
Sponsor Contributor

please don't share screenshot. They are terrible for accessibility and search
use ``` instead

@ZengGengSen
Copy link
Author

 Apps        Drivers              PerfLogs                Python27     Qt           Users                     del.bat   lua-5.3.5_Win64_bin
 Dell        Intel               'Program Files'         Python38     Qt5          Windows                   extres    temp
 Downloads   KDubaSoftDownloads  'Program Files (x86)'   QMDownload   Strawberry   aow-install-apk-100.xml   global

@ZengGengSen
Copy link
Author

In some directories, this is not the case

forest on  C:/
# ls
 Apps        Drivers              PerfLogs                Python27     Qt           Users                     del.bat   lua-5.3.5_Win64_bin
 Dell        Intel               'Program Files'         Python38     Qt5          Windows                   extres    temp
 Downloads   KDubaSoftDownloads  'Program Files (x86)'   QMDownload   Strawberry   aow-install-apk-100.xml   global

forest on  C:/
# cd /D D:\work\work2405\emulators\libretro\libretro-fceumm\                                                                                                
forest on  D:/work/work2405/emulators/libretro/libretro-fceumm  master
# ls
.github     .gitlab-ci.yml  Authors  Makefile         Makefile.libretro  Tupfile       changelog.txt  intl  mason.build  whatsnew.txt
.gitignore  .travis.yml     Copying  Makefile.common  README.md          appveyor.yml  control        jni   src          zzz_todo.txt

forest on  D:/work/work2405/emulators/libretro/libretro-fceumm  master
#

@ZengGengSen
Copy link
Author

I tried to add a file with a space in it, and this happened

 forest on  D:/work/work2405/emulators/libretro/libretro-fceumm  master
 # ls
 .github      .gitlab-ci.yml   Authors   Makefile          Makefile.libretro   Tupfile   appveyor.yml    control   jni           src            zzz_todo.txt
 .gitignore   .travis.yml      Copying   Makefile.common   README.md          'a b'     changelog.txt   intl      mason.build   whatsnew.txt

@ZengGengSen
Copy link
Author

In some cases, the file name of the previous line is output to the next line

 forest on  ~# ls
 .AndroidStudio3.6   .bash_history   .jdks               .wget-hsts     Downloads   Nox_share       UIDowner                              delete       source
 .BigNox             .config         .lesshst           '3D Objects'   Favorites   OneDrive        Videos                                inittk.ini   useruid.
ini
 .VirtualBox         .designer       .oracle_jre_usage   Contacts       Links       Pictures       'Yinxiang Biji'                       inst.ini     vmlogs
 .WebStorm2019.2     .gitconfig      .ssh                Desktop        Music      'Saved Games'   ansel                                 nuuid.ini    约战竞技
场
 .android            .gradle         .vscode             Documents      NSIS        Searches        d4ac4633ebd6440fa397b84f1bc94a3c.7z   other

@ivinjabraham
Copy link

I'll try looking into this

@Its-Just-Nans
Copy link
Contributor

@RenjiSann
Copy link
Contributor

@ZengGengSen can you share the version of uutils with which you encountered the bug ?
This should have been addressed in 0.0.27, so it is normal to encounter the bug in previous versions.

@ZengGengSen
Copy link
Author

The bug has been resolved in 0.0.27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants