* Fri 2008-02-22 Ian Jackson <[EMAIL PROTECTED]> INBOX
> Raphael Hertzog writes
>
>> Rather the rest of the man pages are detached from the one marked with
>> "!"... and they are detached because they are symlinks. Symlinks always
>> appear at the end
>
> dpkg -L prints the files in the order they are in the file lists in
> the dpkg databases.
>
> The files are in the database in the order that they came in the
> package, and I think it would be bad to perturb that (although I
> haven't thought it through carefully).  The files are in the package
> in that order so that when a symlink is installed by atomic rename
> during unpack, the file which it refers to already exists.
>
The -L listing is very ofter used to check where "are" the files in
the package. For human consumption, the alphabetical order is very
important. Any other order is distracting.

> I think the right answer is for dpkg -L to sort its output (perhaps
> with an option to suppress this if desired).

The other way round. Please make the sorted listing the default, and
add separate option to list the RAW order[*]

[*] On top of my head, I don't know what program would benefit from
the raw listing, because it would still need to test [ -h "$path" ] to
determine if any of those are symlinks or not.

Jari

-- 
Welcome to FOSS revolution: we fix and modify until it shines




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to