View Issue Details

IDProjectCategoryView StatusLast Update
00019631003.1(2024)/Issue8Shell and Utilitiespublic2026-01-09 15:40
ReporterLove4Boobies Assigned To 
PrioritynormalSeverityEditorialTypeOmission
Status Interpretation RequiredResolutionAccepted As Marked 
NameBogdan Barbu
Organization
User Reference
Sectionsccs
Page Numberhttps://pubs.opengroup.org/onlinepubs/9799919799/utilities/sccs.html
Line NumberN/A
Interp StatusProposed
Final Accepted Textsee 0001963:0007355
Summary0001963: sccs create should use get
DescriptionThe 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 ActionIn 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"
Tagstc1-2024

Activities

Love4Boobies

2025-12-17 01:49

reporter   bugnote:0007346

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.

alanc

2025-12-17 02:02

reporter   bugnote:0007347

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'."

Love4Boobies

2025-12-17 16:08

reporter   bugnote:0007349

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."

nick

2026-01-08 17:18

manager   bugnote:0007355

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

Create an SCCS file, taking the initial contents from the file of the same name. 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.

to:
    

Create SCCS files, taking the initial contents from each of the filename operands of the same name. Any options to admin shall be accepted. 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 renamed files should be removed after it has been verified that the SCCS files have been created successfully.

agadmin

2026-01-09 15:40

administrator   bugnote:0007357

Interpretation Proposed: 9th January 2026

Issue History

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