-
-
Notifications
You must be signed in to change notification settings - Fork 958
Closed
Labels
Description
It appears that fd -L completely omits any broken symlinks. Instead it should fall back to treating a broken symlink as though -L was not specified, which matches the observed find behavior.
Example:
> touch a
> ln -s b c
> ln -s a d
> exa
a c@ d@
> find -L .
.
./a
./c
./d
> fd -L
a
d
>
Notice how fd -L completely omitted the broken c symlink. Continued:
> find -L . -type l
./c
> fd -L -t l
>
Notice how find is treating the broken symlink exactly as though -L were not specified.
This was tested with fd 7.2.0 on macOS 10.14.1 (18B75).