find -exec question

R Kimber richardkimber at btinternet.com
Sun May 11 21:46:28 UTC 2014


On Sun, 11 May 2014 14:29:16 -0500
C de-Avillez wrote:

> You may be hitting the fact that sort output will depend on locale
> setup.

Can you explain this more?  If I do

for files in *; do echo $files; done

I get the directories listed in alphabetical order.  Also 'ls' gives
alphabetic output.  I don't see why 'find' should produce output in a
different order.

- Richard.
-- 
Richard Kimber





More information about the ubuntu-users mailing list