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 | 2025-12-17 16:08 |
| Reporter | Love4Boobies | Assigned To | |||
| Priority | normal | Severity | Editorial | Type | Omission |
| Status | New | Resolution | Open | ||
| 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 | |||||
| Final Accepted Text | |||||
| 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 | No tags attached. | ||||
|
|
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." |
| 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 |