bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #54262] -printf %Y doesn't output N for broken links


From: Tavian Barnes
Subject: [bug #54262] -printf %Y doesn't output N for broken links
Date: Sat, 7 Jul 2018 14:54:24 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

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

[Prev in Thread] Current Thread [Next in Thread]