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