coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

`ls --ignore` behaves differently

Open ackerleytng opened this issue 3 years ago • 0 comments

Discovered while working on https://github.com/uutils/coreutils/issues/3628

$ ls
a  b  c  d  e
$ ~/projects/coreutils/target/debug/coreutils ls
a  b  c  d  e
$ ls --ignore '[a]'
b  c  d  e
$ ~/projects/coreutils/target/debug/coreutils ls --ignore '[a]'
b  c  d  e
$ ls --ignore '[!a]'
a
$ ls --ignore '[^a]'
a
$ ~/projects/coreutils/target/debug/coreutils ls --ignore '[!a]'
a
$ ~/projects/coreutils/target/debug/coreutils ls --ignore '[^a]'
b  c  d  e
$

I'll work on this!

ackerleytng avatar Jul 29 '22 05:07 ackerleytng