On Sun, Mar 4, 2018 at 2:31 PM, Joe Zeff <joe@xxxxxxx> wrote: > On 03/04/2018 11:15 AM, R. G. Newbury wrote: >> >> >> find . -name "*.pdf" | tail -n 2 >> >> does not 'find' the files in canonical order: it outputs 124.pdf and >> 126.pdf > > > What does it print if you don't run it through tail? > um.. hey guys.... I wanted to get the last X lines of each file from an input/wildcard list of files !! so.. I wanted the last 5 lines of the 126.pdf as well as the last 5 lines of the 125.pdf... --NOT the last X files from a list of files.. thanks > _______________________________________________ > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx