Home > admin > admin -i

admin(1posix) -i
create and administer SCCS files (DEVELOPMENT)
-i[name]
       Specify the name of a file from which the text for a new  SCCS  file  shall  be  taken.  The  text
       constitutes  the  first  delta of the file (see the -r option for the delta numbering scheme).  If
       the -i option is used, but the name option-argument is omitted, the  text  shall  be  obtained  by
       reading the standard input. If this option is omitted, the SCCS file shall be created with control
       information but without any file data.  The -i option implies the -n option.

Related

The admin utility shall conform to the Base Definitions volume of IEEE Std 1003.1-2001, Section 12.2, Utility Syntax Guidelines, except that the -i, -t, and -y options have optional option-arguments. These optional option-arguments shall not be presented as separate arguments. The following options are supported:
-n Create a new SCCS file. When -n is used without -i, the SCCS file shall be created with control information but without any file data.
-t[name] Specify the name of a file from which descriptive text for the SCCS file shall be taken. In the case of existing SCCS files (neither -i nor -n is specified): * A -t option without a name option-argument shall cause the removal of descriptive text (if any) currently in the SCCS file. * A -t option with a name option-argument shall cause the text (if any) in the named file to replace the descriptive text (if any) currently in the SCCS file.
The standard input shall be a text file used only if -i is specified without an option-argument or if a file or newfile operand is specified as '-' . If the first character of any standard input line is <SOH> in the POSIX locale, the results are unspecified.
The application shall ensure that the file named by the -i option's name option-argument shall be a text file; if the first character of any line in this file is <SOH> in the POSIX locale, the results are unspecified. If this file contains more than 99999 lines, the number of lines recorded in the header for this file shall be 99999 for this delta.

Examples

None.

Tips or Questions?


Powered by ExplainShell