|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0696 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 0696.
Report 0696 Actions
Problem Report Number 0696 Submitter's Classification Specification problem State Resolved Resolution Permanent Interpretation (PIN) Problem Resolution ID PIN.X.0089 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1997-07-07 08:00 Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 4.1.4 Test Identification POSIX.cmd/ed 315 Specification Commands and Utilities Issue 4 Version 2 Location in Spec See Problem Text Problem Summary PIN4C.00025 Global (g) command semantics mandated by spec may change. Problem Text
The behavior of the global command 'g' was recently the subject of an IEEE
interpretation (PASC Ref. #1003.2-119) because it broke historical practice.
Concerns were raised and forwarded to the POSIX.2 working group.
The wording in section 4.20.7.3.7 (Global command description) of
IEEE Std 1003.2-1992 was changed in P1003.2b/D11 as a result of this
interpretation.Test Output
Assertion #315 (A): Test the g command operational behavior wrt dot modification
Note: The behavior associated with this assertion is currently
the subject of an IEEE POSIX.2 interpretation request and may
change in a future revision of POSIX.2.
diff of "ed_out_315_1" and "ed_eout_315_1":
*** ed_out_315_1 Fri Aug 18 08:50:59 1995
--- ed_eout_315_1 Fri Aug 18 08:50:58 1995
***************
*** 1,4 ****
! The fuRther eLaboration and development of systematic arithmetic, like
! neaRLy everything else which the mathematics of our century has produced
! in the way of oRiginaL scientific ideas, is knit to Gauss.
! LeopoLd KRonecker.
--- 1,4 ----
! ThE fuRther eLaboratioN and development of systematic arithmetic, like
! NEaRLy everything else which the mathematics of our century has produced
! iN thE way of oRiginaL scientific ideas, is knit to Gauss.
! LEopoLd KRoNecker.
Command failed: 'cmp_show ed_out_315_1 ed_eout_315_1'
Assertion Result: FAIL
Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
The interpretation referenced does not state the POSIX spec is in error.
It essentially states that the standard is clear and should be followed.
However, 1003.2b/D11 rewords 4.20.7.3.7 from
In the g command, the first step is to mark every line that
matches the given RE.
Then, for every such line, the given command list will be
executed with the current line number set to the address of that
line.
When the g command completes, the current line number will have
the value assigned by the last command in the command list. If
there were no matching lines, the current line number will not be
changed. A single command or the first of a list of commands
will appear on the same line as the global command. All lines of
a multi-line list
to
In the g command, the first step is to mark every line that
matches the given RE.
Then, going sequentially from the beginning of the file to the
end of the file, the given command list shall be executed for
each marked line, with the current loine number set to the
address of that line. Any line modified by the command list
shall be unmarked.
When the g command completes, the current line number will have
the value assigned by the last command in the command list. If
there were no matching lines, the current line number will not be
changed. A single command or the first of a list of commands
will appear on the same line as the global command. All lines of
a multi-line list
Anticipating acceptance of POSIX 2003.2b/D11 and the eventual
alignment of the tests with it a temporary interpretation is
recommended.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Permanent Interpretation (PIN) Review Conclusion
A Permanent Interpretation is granted.
Problem Reporting System Options:
- View Report 0696
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority