Date: Mon, 21 Nov 2005 12:10:52 +0000 From: Brian Candler <B.Candler@pobox.com> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: Tim Kientzle <kientzle@freebsd.org>, freebsd-current@freebsd.org Subject: Re: Order of files with 'cp' Message-ID: <20051121121052.GA22309@uk.tiscali.com> In-Reply-To: <20051121114614.GA1549@flame.pc> References: <20051116161540.GB4383@uk.tiscali.com> <437F7E22.5050800@freebsd.org> <20051120193416.GB1599@flame.pc> <20051120205605.GB19791@uk.tiscali.com> <20051121114614.GA1549@flame.pc>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051121121052.GA22309>