View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001963 | 1003.1(2024)/Issue8 | Shell and Utilities | public | 2025-12-16 23:42 | 2026-01-09 15:40 |
| Reporter | Love4Boobies | Assigned To | |||
| Priority | normal | Severity | Editorial | Type | Omission |
| Status | Interpretation Required | Resolution | Accepted As Marked | ||
| Name | Bogdan Barbu | ||||
| Organization | |||||
| User Reference | |||||
| Section | sccs | ||||
| Page Number | https://pubs.opengroup.org/onlinepubs/9799919799/utilities/sccs.html | ||||
| Line Number | N/A | ||||
| Interp Status | Proposed | ||||
| Final Accepted Text | see 0001963:0007355 | ||||
| Summary | 0001963: sccs create should use get | ||||
| Description | The sccs frontend to the SCCS utilities performs a get operation after a successful create operation. The way POSIX currently defines create is actually how many implementations implement the enter operation, not defined by POSIX. While this behavior is not made explicit by man pages in several of the below flavors, they are all confirmed by either the source code or by non-man vendor documentation: 1. Sun SCCS (https://docs.oracle.com/cd/E19504-01/802-5880/6i9k05dhr/index.html) 2. IBM AIX SCCS (https://www.ibm.com/docs/en/rational-synergy/7.2.1?topic=terms-using-creating-adding-deleting-removing-objects) 3. Heirloom SCCS (sccs.c: line 108) 4. schilytools SCCS (sccs.c: line 126) 5. GNU CSSC (sccs.c: line 206) | ||||
| Desired Action | In the EXTENDED SECTION, under "create", change "If the creation is successful, the original files shall be renamed by prefixing the basenames with a comma. These" to "If the creation is successful, the original files shall be renamed by prefixing the basenames with a comma and get shall be used to generate new versions. The" | ||||
| Tags | tc1-2024 | ||||
|
|
Alternatively, the current description of the create pseudocommand could be assigned to the enter pseudocommand (found in all of the above implementations with the possible exception of IBM's) and create could be redefined as an enter followed by a get. |
|
|
Just FYI, the https://docs.oracle.com/cd/E19504-01/802-5880/6i9k05dhr/index.html link above is to the sccs man page from Solaris 2.6 (released in 1998). The current Solaris 11.4 sccs man page can be found at https://docs.oracle.com/cd/E88353_01/html/E37839/sccs-1.html and makes the call to get more explicit in the create description, along with specifying enter as "Similar to create, but omits the final `sccs get'." |
|
|
Nice. There's also another problem with the current phrasing. The first sentence "Create an SCCS file, taking the initial contents from the file of the same name." would make you think that only one file can pe specified at a time, which is not the case according to my tests nor in accordance to the rest of the description - "Any options to admin are accepted. If the creation is successful, the original files shall be renamed by prefixing the basenames with a comma. These renamed files should be removed after it has been verified that the SCCS files have been created successfully." |
|
|
Interpretation response ------------------------ The standard does not speak to this issue, and as such no conformance distinction can be made between alternative implementations based on this. This is being referred to the sponsor. Rationale: ------------- Although the standard does not specify what should happen after a new file is created in SCCS, all known implementations perform a "get". Notes to the Editor (not part of this interpretation): ------------------------------------------------------- Change p3351, lines 113921-113924 from
to:
|
|
|
Interpretation Proposed: 9th January 2026 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-12-16 23:42 | Love4Boobies | New Issue | |
| 2025-12-17 01:49 | Love4Boobies | Note Added: 0007346 | |
| 2025-12-17 02:02 | alanc | Note Added: 0007347 | |
| 2025-12-17 16:08 | Love4Boobies | Note Added: 0007349 | |
| 2026-01-08 17:18 | nick | Note Added: 0007355 | |
| 2026-01-08 17:19 | nick | Status | New => Interpretation Required |
| 2026-01-08 17:19 | nick | Resolution | Open => Accepted As Marked |
| 2026-01-08 17:19 | nick | Interp Status | => --- |
| 2026-01-08 17:19 | nick | Final Accepted Text | => see 0001963:0007355 |
| 2026-01-08 17:21 | geoffclare | Tag Attached: tc1-2024 | |
| 2026-01-09 15:40 | agadmin | Interp Status | --- => Proposed |
| 2026-01-09 15:40 | agadmin | Note Added: 0007357 |