$ zgrep -A3 '%A%p' /usr/share/info/find.info.gz
         newest=$(find subdir -newer timestamp -printf "%A%p\n" |
                    sort -n |
                    tail -1 |
                    cut -d: -f2- )

is taken from findutil's (4.4.2-4) documentation.  It doesn't work
here:

    $ mkdir -v subdir
    mkdir: created directory `subdir'
    $ touch subdir/file
    $ find subdir -printf "%A%p\n"
    %p
    %p
    $ find subdir -printf "%A\n"
    %\n%\n$

I think the documentation's example assumes "%A\n" is supposed to
print time information as is.  While, in fact, there must be a
modifier after the 'A'.  Does

    find subdir -printf "%A\n"

print time information for you?  Am I right that the documentation's
example assume it should work as is?  
  Does the example also bad with respect to "%p"?  If so, what is the
correct formatting?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1332987136.79855.yahoomailclas...@web120705.mail.ne1.yahoo.com

Reply via email to