sccs-edit(1)
π sccs-edit(1) β like, the actual manual page, but make it make sense
okay bestie, so this is a page from SchilyΒ΄s USER COMMANDS (yes that's the manual name, we're folding it in, you're welcome β¨), and it's all about sccs-edit β the command that gets you a version of a file you can actually touch. Let's go π
πΈ NAME πΈ
sccs-edit β retrieves a version of a file for editing. literally its whole personality π«Ά
β¨ SYNOPSIS β¨
sccs edit [options] file1 .. filen
π¦ DESCRIPTION π¦
So. You wanna edit a file. sccs edit extracts a version of that file that's writable by you, and it creates a p.file in the SCCS subdirectory as a lock on the history β meaning nobody else can check that version in or out while you're in there. main character energy, honestly π (it's giving "reserved for me, no cap").
ID keywords come back in unexpanded form. edit accepts the same options as get, listed down below β¬οΈ. Peep sccs-get(1) if you want the whole lore about the get utility and the full list of ID keywords plus their definitions.
The tea β: theeditsubcommand is basically equivalent to`get -e`. that's it, that's the vibe.
π OPTIONS π
-asequenceβ retrieves the version matching the delta sequence number you named. this one's mostly for the SCCScombcommand (seesccs-comb(1)π§). for us regular humans,-ris the easier way to pick a version. heads up: the-aoption supersedes the-roption when you use both at once. periodt.-bβ creates a new branch. used together with the-eoption to say the new delta should have a SID in a new branch. instead of incrementing the level for the version to be checked in,getindicates in thep.filethat the delta to be checked in should either initialize a new branch and sequence (if there's no existing branch at the current level), or increment the branch component of the SID. β οΈ if thebflag is not set in thes.file, this option gets ignored β like, literally no effect.-c date-time-cdate-timeβ retrieves the latest version checked in prior to the date and time you pass in as the date-time argument. the date-time form is:
yy[mm[dd[ hh[mm[ss]]]]]
units you leave out default to their maximum possible value β so -c7502 is the same as -c750228235959 π. values of yy from 69β99 refer to the twentieth century, and values from 00β68 refer to the twenty-first century. any number of non-numeric characters may separate the various 2-digit components (go off, separators π). if white-space characters show up, the date-time spec must be quoted.
there's also this form:
yyyy/[mm[dd[hh[mm[ss]]]]]
which refers to a 4-digit year and lets you specify a year outside the range 1969β2068. fancy π
-gβ gets the SCCS version ID without retrieving the version itself. it's the vibe check for a SID: use it to verify that a particular SID actually exists π₯-i sid-list-isid-listβ specifies a list of deltas to include in the retrieved version. the included deltas get noted in the standard output message π. sid-list is a comma-separated list of SIDs. to specify a range of deltas, use a`β'separator instead of a comma, between two SIDs in the list.-sβ suppresses all output normally written on the standard output. but fatal error messages (which always go to the standard error, iconic) remain unaffected π.-tβ retrieves the most recently created (top) delta in a given release β for example:-r1β.-r[sid]β retrieves the version corresponding to the indicated SID (delta).
okay so the SID for a given delta is a number, in Dewey decimal format, made of two or four fields: the release and level fields, and for branch deltas, the branch and sequence fields. for instance, if 1.2 is the SID, then 1 is the release and 2 is the level number. if 1.2.3.4 is the SID, then 3 is the branch and 4 is the sequence number. iykyk π§
you do not need to specify the entire SID to retrieve a version with get. when you omit -r altogether, or when you omit both release and level, get normally retrieves the highest release and level. if the d flag is set to an SID in the s.file and you omit the SID, get retrieves the default version indicated by that flag.
when you specify a release but omit the level, get retrieves the highest level in that release. if that release doesn't exist, get retrieves the highest level from the next-highest existing release π.
same deal with branches: if you specify a release, level and branch, get retrieves the highest sequence in that branch.
-x sid-list-x[sid-list]β excludes the indicated deltas from the retrieved version. the excluded deltas get noted in the standard output message π. sid-list is a comma-separated list of SIDs. to specify a range of deltas, use a`β'separator instead of a comma, between two SIDs in the list.
π EXAMPLES π
to edit the file xec.c in the current directory, call:
sccs edit xec.c
look at you go, bestie π
π ENVIRONMENT VARIABLES π
see environ(7) for descriptions of the following environment variables that affect the execution of sccs-edit(1): LANG, LC_ALL, LC_CTYPE, LC_MESSAGES, and NLSPATH.
SCCS_NO_HELPβ if set,sccs editwill not automatically callhelp(1)with the SCCS error code in order to print a more helpful error message. scripts that depend on the exact error messages of SCCS commands should set the environment variableSCCS_NO_HELPand setLC_ALL=C. π«Ά
π ATTRIBUTES π
see attributes(7) for descriptions of the following attributes:
- Availability β
SCHILYdeveloper-build-sccs - Interface Stability β
Committed
π SEE ALSO π
sccs(1), sccs-add(1), sccs-admin(1), sccs-branch(1), sccs-cdc(1), sccs-check(1), sccs-clean(1), sccs-comb(1), sccs-commit(1), sccs-create(1), sccs-cvt(1), sccs-deledit(1), sccs-delget(1), sccs-delta(1), sccs-diffs(1), sccs-editor(1), sccs-enter(1), sccs-fix(1), sccs-get(1), sccs-help(1), sccs-histfile(1), sccs-info(1), sccs-init(1), sccs-istext(1), sccs-ldiffs(1), sccs-log(1), sccs-print(1), sccs-prs(1), sccs-prt(1), sccs-rcs2sccs(1), sccs-remove(1), sccs-rename(1), sccs-rmdel(1), sccs-root(1), sccs-sact(1), sccs-sccsdiff(1), sccs-status(1), sccs-tell(1), sccs-unedit(1), sccs-unget(1), sccs-val(1), what(1), sccschangeset(5), sccsfile(5).
that's a lot of friends, slay π
π BUGS π
None currently known. genuinely flawless, we love to see it β¨
mail bugs and suggestions to schilytools@mlists.in-berlin.de or open a ticket at https://codeberg.org/schilytools/schilytools/issues.
the mailing list archive may be found at:
https://mlists.in-berlin.de/mailman/listinfo/schilytools-mlists.in-berlin.de.
π§ AUTHORS π§
sccs edit was originally written by Eric Allman at UCB in 1980. it was later maintained by various people at AT&T and Sun Microsystems. since 2006, it has been maintained by Joerg Schilling and the schilytools project authors. a whole lineage, honestly πΈ
β SOURCE DOWNLOAD β
the source code for SCCS is included in the schilytools project and may be retrieved from the schilytools project at Codeberg at
https://codeberg.org/schilytools/schilytools.
the download directory is
https://codeberg.org/schilytools/schilytools/releases.
aaaand that's the page!! π written by Joerg Schilling, dated 2022/10/06, on the sccs-edit(1) page of SchilyΒ΄s USER COMMANDS manual β go forth and edit, bestie, you're gonna ate it π¦π
π¦ where this page comes from
- opensuse-leap 16.0: sccs 2022.10.16-160000.2.2 Β· CDDL-1.0
- opensuse-leap 16.0: sccs 2022.10.16-160000.2.2 Β· CDDL-1.0
- opensuse-leap 16.0: sccs 2022.10.16-160000.2.2 Β· CDDL-1.0
- opensuse-leap 16.0: sccs 2022.10.16-160000.2.2 Β· CDDL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms