From owner-freebsd-standards Sun Dec 16 8: 0: 2 2001 Delivered-To: freebsd-standards@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id DDB5137B41C for ; Sun, 16 Dec 2001 07:59:59 -0800 (PST) Received: from attbi.com ([12.237.33.57]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011216155959.VMU10701.rwcrmhc53.attbi.com@attbi.com> for ; Sun, 16 Dec 2001 15:59:59 +0000 Message-ID: <3C1CC516.9AA6914B@attbi.com> Date: Sun, 16 Dec 2001 10:00:22 -0600 From: Joe Halpin X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: "standards@FreeBSD.ORG" Subject: at utility and time format Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I don't have a copy of POSIX handy, so I've been going by the Single Unix Specification V2 (http://www.rdg.opengroup.org/onlinepubs/7908799/index.html), which I understand includes POSIX whole. I'd appreciate it if someone with a copy of POSIX could verify something for me though. I'm working on adding the -t option to the at utility. The SUS says that -t accepts a time spec in the same format as the touch utility. However, the touch utility described by the SUS (http://www.rdg.opengroup.org/onlinepubs/7908799/xcu/touch.html) has a different time format than the FreeBSD version of touch. It wants -t time Use the specified time instead of the current time. The option-argument will be a decimal number of the form: [[CC]YY]MMDDhhmm[.SS] where each two digits represents the following: MMThe month of the year [01-12]. DDThe day of the month [01-31]. hhThe hour of the day [00-23]. mmThe minute of the hour [00-59]. CCThe first two digits of the year (the century). YYThe second two digits of the year. SSThe second of the minute [00-61]. I'm looking to verify that this is the same as POSIX, because adding seconds to at will be a much bigger job than just allowing a different format. What I was planning on doing was to just convert the -t format into something at already understands, and then pass that on. If seconds are in the picture, then I'll have to figure out how to support them. Thanks Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message