|
| From: | Paul Eggert |
| Subject: | bug#64604: readlink exit booelan value bug |
| Date: | Thu, 13 Jul 2023 19:54:09 -0700 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 2023-07-13 19:38, Budi wrote:
/tmp$ readlink -f ./KERNEL-linux-6.3.9 && echo SUCCEEDS FIND IT /tmp/KERNEL-linux-6.3.9 SUCCEEDS FIND IT but correct at deeper depth: /tmp$ readlink -f ./KERNEL-linux-6.3.9/fs && echo SUCCEEDS FIND IT look it up, no KERNEL-linux-6.3.9 dir.:
That's not a bug. The documentation for -f says that the last component need not exist. Sounds like you want -e.
| [Prev in Thread] | Current Thread | [Next in Thread] |