sccs-editor(1)
π sccs-editor(1) β bestie edition β¨
ok so this is a page from SchilyΒ΄s USER COMMANDS (manual name right there, in the flesh, slay) and it's literally all about sccs-editor(1). sit down, grab a drink, we're learning π
β¨ NAME β¨
sccs-editor β edit a file whether or not it is controlled by SCCS π
π¦ SYNOPSIS π¦
sccs editor [editor options] file1 .. filen
π DESCRIPTION π
okay so the whole vibe: this edits a file whether or not it is controlled by SCCS. (yes the original says "whether or not is is controlled", typo and all, we love a typo, moving on π)
Here's the tea, lowkey the whole point:
- if the file is controlled by SCCS and it's currently not checked out for editing β it gets checked out for editing first, and then edited. two-step. iconic.
- if the file is not under control of SCCS β the editor is just called directly. no drama, no checkout.
The SCCS_EDITOR or EDITOR environment variable must be set appropriately so a custom editor can be called. no cap, that's a requirement.
So there's a cute lil trick for hiding the fact that files need to be checked out for editing first β set SCCS_EDITOR and then alias the editor, like this:
SCCS_EDITOR=ved
alias ved='sccs editor'
And now the big brain part π β to minimize the side effects of calling the alias ved *, sccs editor will call unget(1) or sccs unedit on all files that have not been modified by the edit session and that have not been checked out for editing before. so it cleans up after itself, periodt.
β οΈ heads up: this subcommand is a SCHILY extension that does not exist in historic sccs implementations. she's new here. iykyk π
π EXAMPLES π
To edit the file xec.c in the current directory, call:
sccs editor xec.c
that's it. that's the example. ate. π
πΈ ENVIRONMENT VARIABLES πΈ
See environ(7) for descriptions of the following environment variables that affect the execution of sccs-editor(1): EDITOR, SCCS_EDITOR, LANG, LC_ALL, LC_CTYPE, LC_MESSAGES, and NLSPATH.
SCCS_NO_HELPβ if set,sccs editorwill 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 β the table got turned into a lil list because we're cute like that:
- 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-edit(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).
like, that's a whole friend group fr fr π«Ά
π AUTHOR π
sccs editor was originally written by Joerg Schilling in 2011 and is now maintained by the schilytools project authors. legends only π
π§ 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.
(yes, both of those URLs end with a period in the original β that's just how she is, don't @ me π )
and that's the whole page bestie!! π brought to you by Joerg Schilling, dated 2022/10/06, and it's the sccs-editor(1) page β go forth and edit, mwah π½π
π¦ 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