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

Re: The ls command



alain williams (HE12025-10-30):
> However: in this case the filename expansion (*pdf) is done by the shell and so
> it is the shell which will have sorted the names.

You are starting from a true fact and arriving at a wrong conclusion. It
is really ls that will decide the sort order here. I suggest you run
some tests.

> I assume that there is not a directory with name that matches *pdf - in which
> case ls will sort the names in there.

Indeed.

Regards,

-- 
  Nicolas George


Reply to: