URL:
  <http://savannah.gnu.org/bugs/?54262>

                 Summary: -printf %Y doesn't output N for broken links
                 Project: findutils
            Submitted by: tavianator
            Submitted on: Sat 07 Jul 2018 06:54:23 PM UTC
                Category: locate
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.6.0
           Fixed Release: None

    _______________________________________________________

Details:

man find says that -printf supports this format specifier:

%Y     File's type (like %y), plus follow symlinks: L=loop, N=nonexistent

but

$ ln -s nonexistent broken
$ find broken -printf '%p %y %Y\n'
broken l l

The man page seems to imply that that should have been

broken l N

instead.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54262>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to