IEEE Standards Interpretations for IEEE Std 1003.1™-2001 IEEE Standard for Information Technology - Portable Operating System Interface (POSIX®)
Copyright © 2006 by the Institute of Electrical and Electronics Engineers, Inc. 3 Park Avenue New York, New York 10016-5997 USA All Rights Reserved.
Interpretations are issued to explain and clarify the intent of a standard and do not constitute an alteration to the original standard. In addition, interpretations are not intended to supply consulting information. Permission is hereby granted to download and print one copy of this document. Individuals seeking permission to reproduce and/or distribute this document in its entirety or portions of this document must contact the IEEE Standards Department for the appropriate license. Use of the information contained in this document is at your own risk.
IEEE Standards Department Copyrights and Permissions 445 Hoes Lane, Piscataway, New Jersey 08855-1331, USA
Interpretation Request #6
Topic: Defect in XCU sed Relevant Sections: sed rfile
The word "optional" should not be present in the following text: "The r and w command verbs, and the w flag to the s command, take an optional rfile (or wfile) parameter" In the detailed descriptions of the r, w and s commands (lines 32471, 32504 and 32512), the rfile and wfile parameters are not in square brackets, and no mention is made of them being optional, nor any indication given of how sed should behave if they are omitted. The rfile and wfile parameters clearly are not optional (whereas for ed they are - as can be seen by comparing the corresponding parts of the sed and ed descriptions).
Delete the word "optional".
The standard is unclear on this issue, and no conformance distinction can be made between alternative implementations based on this. This is being referred to the sponsor.
Rationale for Interpretation