Scroll to navigation

sccs-rcs2sccs(1) Schily´s USER COMMANDS sccs-rcs2sccs(1)

NAME

sccs-rcs2sccs, rcs2sccs - convert RCS files into SCCS files

SYNOPSIS

/usr/ccs/bin/rcs2sccs [-rm] [-V6] [file...]

DESCRIPTION

rcs2sccs converts RCS history files into SCCS history files. If a list of files is specified, this list is converted. If no file arguments are specified, all RCS files in the current directory are converted.

This program is a SCHILY extension that does not exist in historic sccs implementations.

OPTIONS

The following options are supported:

Remove the RCS history files on success.
Convert into SCCS v6 history files.
-V
Prints the rcs2sccs version number string and exists.
Print a short usage overview and exit.

ENVIRONMENT VARIABLES

See environ(7) for descriptions of the following environment variables that affect the execution of rcs2sccs(1): LANG, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES, and NLSPATH.

If set, rcs2sccs(1) will not automatically call help(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 variable SCCS_NO_HELP and set LC_ALL=C.

FILES

/tmp/rcs2sccs_*
temporary files

ATTRIBUTES

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Availability SUNWsprot

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-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-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), bdiff(1), diff(1), what(1), sccschangeset(5), sccsfile(5), attributes(7), environ(7), standards(7).

DIAGNOSTICS

Use the SCCS help command for explanations of messages. See sccs-help(1).

NOTES

While RCS records time stamps in GMT, SCCS uses local time. When a SCCS v6 history file is created, rcs2sccs converts the time stamps to SCCS GMT time stamps with GMT offset +0000 which can co-exist with time stamps in local time.

When a SCCS v4 history file is created, converting from RCS to SCCS is done by literally transforming the time stamps and thus keeping the GMT time base which may differ from local time. If you like to convert the time stamps in the resulting SCCS files to a local timebase, call:


TZ=GMT sccs cvt -V6 SCCS


sccs cvt -V4 -d SCCS

But note that this conversion may not be correctly converted back to GMT in case that time stamps exists in the overlapping period of wall clock time that appears when switching from DST to non-DST.

BUGS

None currently known.

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.

AUTHOR

The original code is from around 1990 from the net from an author identified as "kenc". This version was maintained by Joerg Schilling and is now maintained by the schilytools project authors.

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.

2022/10/06 Joerg Schilling