From: Joe Zeffjoe@zeff.us
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?
That exercise was left for those adventurous students with an inquiring mind to attempt and to ascertain the answer for themselves....
But for those without a computer to run the code or the intellectual musculature to open a console and type a line or two, (or for that matter, read this, since you obviously cannot own a computer..), the answer is:
$find . -name "*.pdf" | sort ./123.pdf ./124.pdf ./125.pdf ./126.pdf
Geoff
On 03/04/2018 01:07 PM, R. G. Newbury wrote:
That exercise was left for those adventurous students with an inquiring mind to attempt and to ascertain the answer for themselves....
But for those without a computer to run the code or the intellectual musculature to open a console and type a line or two, (or for that matter, read this, since you obviously cannot own a computer..), the answer is:
$find . -name "*.pdf" | sort ./123.pdf ./124.pdf ./125.pdf ./126.pdf
Thank you. I'd do a little more work on this for you, if it weren't for the gratuitous insults.
On 03/04/2018 01:07 PM, R. G. Newbury wrote:
From: Joe Zeffjoe@zeff.us
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?
That exercise was left for those adventurous students with an inquiring mind to attempt and to ascertain the answer for themselves....
But for those without a computer to run the code or the intellectual musculature to open a console and type a line or two, (or for that matter, read this, since you obviously cannot own a computer..), the answer is:
I think the confusion here is whether you were indirectly asking a question or answering an unasked question.