[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #52558] find does not print symlink object in case of follow symbol
From: |
James Youngman |
Subject: |
[bug #52558] find does not print symlink object in case of follow symbolic links |
Date: |
Thu, 30 Nov 2017 12:14:04 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 |
Update of bug #52558 (project findutils):
Status: None => Working as Intended
Assigned to: None => jay
_______________________________________________________
Follow-up Comment #2:
"""%l Object of symbolic link (empty string if file is not a symbolic
link)."""
When -L is in effect, find follows symbolic links.
The %l format specifier shows the target of the symbolic link find is
examining. But the file find is examining is not a symbolic link in this case,
since find has already resolved the link - it is examining the file the link
points to (unless the link is broken). Hence %l must expand to the empty
string:
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52558>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/