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

Re: sha1summ of complete directory?



On Tue, Jul 07, 2009 at 12:37:37PM -0400, Scott Gifford wrote:
> The purpose of the ls was to sort the filenames, but looking more
> clostey, bash sorts them already.  csh and ksh do the same, and
> glob(3) sorts by default.  I'm not sure if all shells do that or not,
> but it seems that most do, and if your shell does, those two should be
> equivalent.

That depends on the value of the LC_COLLATE environment variable.

-- 
Chris.
======
I contend that we are both atheists. I just believe in one fewer god
than you do. When you understand why you dismiss all the other
possible gods, you will understand why I dismiss yours.
                                           -- Stephen F Roberts


Reply to: