View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000266 | 1003.1(2004)/Issue 6 | Shell and Utilities | public | 2010-06-25 16:14 | 2013-04-16 13:06 |
| Reporter | Don Cragun | Assigned To | ajosey | ||
| Priority | normal | Severity | Objection | Type | Error |
| Status | Closed | Resolution | Accepted As Marked | ||
| Name | Don Cragun | ||||
| Organization | |||||
| User Reference | |||||
| Section | time | ||||
| Page Number | 917 | ||||
| Line Number | 35571 | ||||
| Interp Status | Approved | ||||
| Final Accepted Text | 0000266:0000441 | ||||
| Summary | 0000266: time -p output | ||||
| Description | Historic implementations of the time utility (whether implemented as a stand-alone utility or as a shell reserved word [see also my aardvark with reference number "dwc: time(keyword)"]) output an empty line to stderr to separate error output from the invoked utility from the timing statistics written by time itself. The wording for the output produced by time without the -p option is loose enough to allow this behavior, but the format specified in the STDERR section of the description of the time utility (XCU P917, L35571-35572) disallows this empty line when -p is used. Many existing shells treat this in various ways: ksh88 and zsh give an error (-p not recognized) ksh93 uses a stand-alone time utility if the 1st argument of the command starts with '-' Most stand-alone utilities print an empty line before printing the output specified in the standard (whether or not -p is specified). bash prints an empty line if -p is not specified, but matches the standard if -p is specified. | ||||
| Desired Action | Do one of the following: 1. Insert a '\n' before ``real %f'' in the format string on P917, L33571, or 2. Insert the following new sentence: ``The implementation may also prepend a single empty line before the format shown here.'' at the end of the paragraph on P917, L35578. | ||||
| Tags | tc1-2008 | ||||
|
|
Copied from xcubug2.txt ERN 184 |
|
|
Interpretation response ------------------------ The standard states the requirements for time -p, and conforming implementations must conform to this. However, concerns have been raised about this which are being referred to the sponsor. Rationale: ------------- None. Notes to the Editor (not part of this interpretation): ------------------------------------------------------- Take action 2 2. Insert the following new sentence: ``The implementation may also prepend a single empty line before the format shown here.'' at the end of the paragraph on P917, L35578. (Target for TC1) |
|
|
Comments/objections on the proposed interpretation are due by COB Aug 31 2010 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-06-25 16:14 | geoffclare | New Issue | |
| 2010-06-25 16:14 | geoffclare | Status | New => Under Review |
| 2010-06-25 16:14 | geoffclare | Assigned To | => ajosey |
| 2010-06-25 16:14 | geoffclare | Name | => Don Cragun |
| 2010-06-25 16:14 | geoffclare | Section | => time |
| 2010-06-25 16:14 | geoffclare | Page Number | => 917 |
| 2010-06-25 16:14 | geoffclare | Line Number | => 35571 |
| 2010-06-25 16:14 | geoffclare | Interp Status | => --- |
| 2010-06-25 16:14 | geoffclare | Note Added: 0000436 | |
| 2010-06-25 16:16 | geoffclare | Reporter | geoffclare => Don Cragun |
| 2010-06-26 17:46 | geoffclare | Note Added: 0000441 | |
| 2010-06-26 17:47 | geoffclare | Interp Status | --- => Pending |
| 2010-06-26 17:47 | geoffclare | Final Accepted Text | => 0000266:0000441 |
| 2010-06-26 17:47 | geoffclare | Status | Under Review => Interpretation Required |
| 2010-06-26 17:47 | geoffclare | Resolution | Open => Accepted As Marked |
| 2010-07-30 08:18 | ajosey | Interp Status | Pending => Proposed |
| 2010-07-30 08:18 | ajosey | Note Added: 0000492 | |
| 2010-09-03 16:38 | ajosey | Interp Status | Proposed => Approved |
| 2010-09-03 20:48 | Don Cragun | Tag Attached: tc1-2008 | |
| 2013-04-16 13:06 | ajosey | Status | Interpretation Required => Closed |