From owner-freebsd-current@FreeBSD.ORG Mon Apr 14 13:14:58 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FCDF37B401 for ; Mon, 14 Apr 2003 13:14:58 -0700 (PDT) Received: from emmi.physik.TU-Berlin.DE (emmi.physik.TU-Berlin.DE [130.149.160.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53F9743F75 for ; Mon, 14 Apr 2003 13:14:57 -0700 (PDT) (envelope-from jschlesn@emmi.physik.TU-Berlin.DE) Received: from emmi.physik.TU-Berlin.DE (localhost.physik.TU-Berlin.DE [127.0.0.1])h3EKEqkG037539; Mon, 14 Apr 2003 22:14:52 +0200 (CEST) (envelope-from jschlesn@emmi.physik.TU-Berlin.DE) Received: (from jschlesn@localhost)h3EKEqtl037538; Mon, 14 Apr 2003 22:14:52 +0200 (CEST) Date: Mon, 14 Apr 2003 22:14:52 +0200 From: Jan Schlesner To: Riccardo Torrini Message-ID: <20030414201452.GA37232@physik.TU-Berlin.DE> Mail-Followup-To: Riccardo Torrini , freebsd-current@freebsd.org References: <200304091025.LAA13913@sorley.cogsci.ed.ac.uk> <20030409123257.GA3598@trudy.torrini.home> <20030413122948.GA42211@physik.TU-Berlin.DE> <20030414074154.GG3965@trudy.torrini.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030414074154.GG3965@trudy.torrini.home> User-Agent: Mutt/1.4i X-Url: X-PGP-Key: X-Operating-System: FreeBSD 4.7-RELEASE-p10, i386 X-Mailer: Mutt 1.4i ( i386 FreeBSD 4.7-RELEASE-p10 ) cc: freebsd-current@freebsd.org Subject: Re: Unix epoch changed? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2003 20:14:58 -0000 On Mon, Apr 14, 2003 at 09:41:54AM +0200, Riccardo Torrini wrote: > On Sun, Apr 13, 2003 at 02:29:48PM +0200, Jan Schlesner wrote: > > >> Ok, I remember wrong. But the question remain: why find -mtime -2 > >> show a file from 1906 (near 100 year ago) instead of 2 days old? > > > Try to use "-mtime 2" instead of "-mtime -2". ;-) > > ^ ^^ > > It's not the same: positive_2 match file that are exactly 2 day old > but where negative_2 match file old from 0 upto 2 day. I need the > second :-( And is documented, not a my invention... Sorry, that was my faut. But the behavior looks like, that the binary representation of -2 is interpreted as a nosign number. Jan -- [ gpg key: http://wwwds.physik.tu-berlin.de/~jan/jschlesn.gpg ] [ key fingerprint: 4236 3497 C4CF 4F3A 274F B6E2 C4F6 B639 1DF4 CF0A ] -- It's better to reign in hell, than to serve in heaven...