[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #23065] -daystart measures from start of tomorrow - manual incorrec
From: |
Julien Levi |
Subject: |
[bug #23065] -daystart measures from start of tomorrow - manual incorrect |
Date: |
Sat, 26 Apr 2008 12:25:18 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 |
URL:
<http://savannah.gnu.org/bugs/?23065>
Summary: -daystart measures from start of tomorrow - manual
incorrect
Project: findutils
Submitted by: jlevi
Submitted on: Saturday 26/04/08 at 12:25
Category: find
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: None
Fixed Release: None
_______________________________________________________
Details:
The find manual states that the "-daystart" option causes find to measure
relative times from the start of "today" i.e if today is 1st January 2008 it
would measure from "00:00:00 01/01/2008"
In actual fact, with the -daystart option find measures from the start of
tomorrow i.e if today is 1st January 2008, it measures from "00:00:00
02/01/2008"
Example
Create a file with time 10 minutes from end of today:
$ touch -d 'today 23:50' testfile
Find files more than 5 minutes older than "daystart":
$ find ./testfile -daystart -mmin +5
./testfile
According to the manual the above command should not find "testfile". The
manual needs updating with the correct behaviour of this command.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?23065>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #23065] -daystart measures from start of tomorrow - manual incorrect,
Julien Levi <=