[OS X TeX] Opening many files in order
Alain Schremmer
schremmer.alain at gmail.com
Wed May 20 16:22:58 CEST 2009
On May 20, 2009, at 10:10 AM, Berend Hasselman wrote:
>
> On 20-05-2009, at 15:57, David Watson wrote:
>
>> The way MacOSX sorts is by dictionary order, so you will see files
>> 1, 2, ..., 10 as:
>>
>> 1
>> 10
>> 2
>> 3
>> ...
>>
>> If you wanted them to open in numerical order, then you can
>> achieve that by naming them with sufficient leading zeroes to
>> force the dictionary order to match:
>>
>> 01
>> 02
>> ...
>> 09
>> 10
>>
> Isn't that with ls in Terminal?
>
> I am running Mac OS X 10.5.7.
>
> I did the following: for i in 1 2 3 4 5 6 7 8 9 10 11;do touch
> $i; done
>
> Finder sorts these (View options sorting by name) as
> 1,2,3,4,5,6,7,8,9,10,11 (from top to bottom)
>
> When I do: for i in 1 2 3 4 5 6 7 8 9 10 11;do touch XXX$i; done
> Finder sorts these as: XXX1, XXX2, etc.
>
> When I do: for i in 01 02 03 04 05 06 07 08 09 10 11;do touch ZZZ
> $i; done
> the results are similar: ZZZ01, ZZZ02, etc
>
> According to this document: http://support.apple.com/kb/TA22935?
> viewlocale=en_US
> the Finder will treat whole numbers numerically.
That is the way the finder lists them in a window but what I am
talking about is the order in which it opens them. It does show … 9,
10 … but when it opens them, as far as I can see, the order has to do
with the order of last saves.
Disgruntled at Apples regards
--schremmer
More information about the macostex-archives
mailing list