You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is a follow up from this issue #660 and the note section in this pr #748.
The following are list of GNU ls features that involving quoting that are not implemented in lsd yet.
$ /usr/bin/ls --version
ls (GNU coreutils) 9.0
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Richard M. Stallman and David MacKenzie.
List of command line options involving quoting from man page
-N, --literal
print entry names without quoting
-Q, --quote-name
enclose entry names in double quotes
--quoting-style=WORD
use quoting style WORD for entry names: literal, locale, shell, shell-always, shell-escape, shell-es‐
cape-always, c, escape (overrides QUOTING_STYLE environment variable)
NOTE: I didn't investigate each behavior of quoting style yet.
GNU ls has better file alignment
$ /usr/bin/ls -l
total 100
-rw-r--r--. 1 teamrakket teamrakket 0 Nov 19 00:42 'a filename with space'
-rw-r--r--. 1 teamrakket teamrakket 1410 Nov 18 23:55 build.rs
-rw-r--r--. 1 teamrakket teamrakket 30052 Nov 18 23:55 Cargo.lock
-rw-r--r--. 1 teamrakket teamrakket 1449 Nov 18 23:55 Cargo.toml
-rw-r--r--. 1 teamrakket teamrakket 17756 Nov 18 23:55 CHANGELOG.md
drwxr-xr-x. 1 teamrakket teamrakket 96 Oct 16 02:44 ci
-rw-r--r--. 1 teamrakket teamrakket 25 Oct 16 02:44 CODEOWNERS
drwxr-xr-x. 1 teamrakket teamrakket 12 Oct 16 02:44 doc
-rw-r--r--. 1 teamrakket teamrakket 11359 Oct 16 02:44 LICENSE
-rw-r--r--. 1 teamrakket teamrakket 19942 Nov 18 23:55 README.md
-rw-r--r--. 1 teamrakket teamrakket 178 Oct 16 02:46 rustfmt.toml
drwxr-xr-x. 1 teamrakket teamrakket 192 Nov 18 23:55 src
drwxr-xr-x. 1 teamrakket teamrakket 72 Oct 16 02:47 target
drwxr-xr-x. 1 teamrakket teamrakket 0 Nov 19 00:03 test-quote
drwxr-xr-x. 1 teamrakket teamrakket 28 Oct 16 02:46 tests
$ cargo run -- -l --ignore-config
Finished dev [unoptimized + debuginfo] target(s) in 0.03s
Running `target/debug/lsd -l --ignore-config`
.rw-r--r--. teamrakket teamrakket 0 B Sat Nov 19 00:42:11 2022 'a filename with space'
.rw-r--r--. teamrakket teamrakket 1.4 KB Fri Nov 18 23:55:37 2022 build.rs
.rw-r--r--. teamrakket teamrakket 29 KB Fri Nov 18 23:55:37 2022 Cargo.lock
.rw-r--r--. teamrakket teamrakket 1.4 KB Fri Nov 18 23:55:37 2022 Cargo.toml
.rw-r--r--. teamrakket teamrakket 17 KB Fri Nov 18 23:55:37 2022 CHANGELOG.md
drwxr-xr-x. teamrakket teamrakket 96 B Sun Oct 16 02:44:26 2022 ci
.rw-r--r--. teamrakket teamrakket 25 B Sun Oct 16 02:44:26 2022 CODEOWNERS
drwxr-xr-x. teamrakket teamrakket 12 B Sun Oct 16 02:44:26 2022 doc
.rw-r--r--. teamrakket teamrakket 11 KB Sun Oct 16 02:44:26 2022 LICENSE
.rw-r--r--. teamrakket teamrakket 20 KB Fri Nov 18 23:55:37 2022 README.md
.rw-r--r--. teamrakket teamrakket 178 B Sun Oct 16 02:46:28 2022 rustfmt.toml
drwxr-xr-x. teamrakket teamrakket 192 B Fri Nov 18 23:55:37 2022 src
drwxr-xr-x. teamrakket teamrakket 72 B Sun Oct 16 02:47:08 2022 target
drwxr-xr-x. teamrakket teamrakket 0 B Sat Nov 19 00:03:47 2022 test-quote
drwxr-xr-x. teamrakket teamrakket 28 B Sun Oct 16 02:46:28 2022 tests
Some character in filename are not get quoted such as ! or (
lsd --version
: f5ee0a2echo $TERM
: alacrittyecho $LS_COLORS
:Expected behavior
This issue is a follow up from this issue #660 and the note section in this pr #748.
The following are list of GNU
ls
features that involving quoting that are not implemented inlsd
yet.NOTE: I didn't investigate each behavior of quoting style yet.
ls
has better file alignment!
or(
The text was updated successfully, but these errors were encountered: