Re: Order of files with 'cp'

From: Brian Candler <B.Candler_at_pobox.com>
Date: Mon, 21 Nov 2005 12:10:52 +0000
On Mon, Nov 21, 2005 at 01:46:14PM +0200, Giorgos Keramidas wrote:
> To return to the problem at hand, the problem is that the
> 'sorting' function is allowed to re-arrange the order of argv[]
> elements.  I'd probably try to write mastercmp() in a way that
> satisfies all of the following:
> 
>     - All files are sorted before all directories
>     - Files are arranged by their argv[] order
>     - Directories are arranged by their argv[] order

I think that was my option (1) at
http://lists.freebsd.org/pipermail/freebsd-current/2005-November/058098.html

Regards,

Brian.
Received on Mon Nov 21 2005 - 11:10:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:48 UTC