Bug 486227
Summary: | "at" man page does not say that hyphenated dates are accepted | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steve Tyler <stephent98> |
Component: | at | Assignee: | Marcela Mašláňová <mmaslano> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | mmaslano |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-02-19 07:54:34 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Steve Tyler
2009-02-18 22:28:30 UTC
I'll change the man page in next release. In man is written "The exact definition of the time specification can be found in /usr/share/doc/at-3.1.10/timespec." which is true, but this is yacc specification, which isn't user friendly. btw I suggest using "echo date | at now" instead of "echo 'date' | at `date +%F`". That's definitely save typing ;-) (In reply to comment #1) > I'll change the man page in next release. In man is written "The exact > definition of the time specification can be found in > /usr/share/doc/at-3.1.10/timespec." which is true, but this is yacc > specification, which isn't user friendly. Thanks. It seems odd that the package includes the yacc and not the lex, which is also not user friendly. From the yacc and the lex, it appears that "at" accepts both two and four digit years everywhere -- also not mentioned in the man page. By experiment, all of these are accepted: 2009-02-19 19.02.2009 02192009 Similarly, day and month numbers can be one or two digits. 2009-3-1 1.3.2009 But not here: $ echo 'date' | at 312009 Error in month number. Last token seen: 312009 Garbled time > btw I suggest using "echo date | at now" instead of "echo 'date' | at `date > +%F`". That's definitely save typing ;-) That was intended to avoid this: $ echo 'date' | at 2009-02-18 at: refusing to create job destined in the past |