logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

unget.1p (5545B)


  1. '\" et
  2. .TH UNGET "1P" 2017 "IEEE/The Open Group" "POSIX Programmer's Manual"
  3. .\"
  4. .SH PROLOG
  5. This manual page is part of the POSIX Programmer's Manual.
  6. The Linux implementation of this interface may differ (consult
  7. the corresponding Linux manual page for details of Linux behavior),
  8. or the interface may not be implemented on Linux.
  9. .\"
  10. .SH NAME
  11. unget
  12. \(em undo a previous get of an SCCS file (\fBDEVELOPMENT\fP)
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. unget \fB[\fR-ns\fB] [\fR-r \fISID\fB] \fIfile\fR...
  17. .fi
  18. .SH DESCRIPTION
  19. The
  20. .IR unget
  21. utility shall reverse the effect of a
  22. .IR get
  23. .BR \-e
  24. done prior to creating the intended new delta.
  25. .SH OPTIONS
  26. The
  27. .IR unget
  28. utility shall conform to the Base Definitions volume of POSIX.1\(hy2017,
  29. .IR "Section 12.2" ", " "Utility Syntax Guidelines".
  30. .P
  31. The following options shall be supported:
  32. .IP "\fB\-r\ \fISID\fR" 10
  33. Uniquely identify which delta is no longer intended. (This would have
  34. been specified by
  35. .IR get
  36. as the new delta.) The use of this option is necessary only if two or
  37. more outstanding
  38. .IR get
  39. commands for editing on the same SCCS file were done by the same person
  40. (login name).
  41. .IP "\fB\-s\fP" 10
  42. Suppress the writing to standard output of the intended delta's SID.
  43. .IP "\fB\-n\fP" 10
  44. Retain the file that was obtained by
  45. .IR get ,
  46. which would normally be removed from the current directory.
  47. .SH OPERANDS
  48. The following operands shall be supported:
  49. .IP "\fIfile\fR" 10
  50. A pathname of an existing SCCS file or a directory. If
  51. .IR file
  52. is a directory, the
  53. .IR unget
  54. utility shall behave as though each file in the directory were specified as a named
  55. file, except that non-SCCS files (last component of the pathname does
  56. not begin with
  57. .BR s. )
  58. and unreadable files shall be silently ignored.
  59. .RS 10
  60. .P
  61. If exactly one
  62. .IR file
  63. operand appears, and it is
  64. .BR '\-' ,
  65. the standard input shall be read; each line of the standard input shall
  66. be taken to be the name of an SCCS file to be processed. Non-SCCS files
  67. and unreadable files shall be silently ignored.
  68. .RE
  69. .SH STDIN
  70. The standard input shall be a text file used only when the
  71. .IR file
  72. operand is specified as
  73. .BR '\-' .
  74. Each line of the text file shall be interpreted as an SCCS pathname.
  75. .SH "INPUT FILES"
  76. Any SCCS files processed shall be files of an unspecified format.
  77. .SH "ENVIRONMENT VARIABLES"
  78. The following environment variables shall affect the execution of
  79. .IR unget :
  80. .IP "\fILANG\fP" 10
  81. Provide a default value for the internationalization variables that are
  82. unset or null. (See the Base Definitions volume of POSIX.1\(hy2017,
  83. .IR "Section 8.2" ", " "Internationalization Variables"
  84. for the precedence of internationalization variables used to determine
  85. the values of locale categories.)
  86. .IP "\fILC_ALL\fP" 10
  87. If set to a non-empty string value, override the values of all the
  88. other internationalization variables.
  89. .IP "\fILC_CTYPE\fP" 10
  90. Determine the locale for the interpretation of sequences of bytes of
  91. text data as characters (for example, single-byte as opposed to
  92. multi-byte characters in arguments and input files).
  93. .IP "\fILC_MESSAGES\fP" 10
  94. .br
  95. Determine the locale that should be used to affect the format and
  96. contents of diagnostic messages written to standard error.
  97. .IP "\fINLSPATH\fP" 10
  98. Determine the location of message catalogs for the processing of
  99. .IR LC_MESSAGES .
  100. .SH "ASYNCHRONOUS EVENTS"
  101. Default.
  102. .SH STDOUT
  103. The standard output shall consist of a line for each file, in the
  104. following format:
  105. .sp
  106. .RS 4
  107. .nf
  108. "%s\en", <\fISID removed from file\fR>
  109. .fi
  110. .P
  111. .RE
  112. .P
  113. If there is more than one named file or if a directory or standard
  114. input is named, each pathname shall be written before each of the
  115. preceding lines:
  116. .sp
  117. .RS 4
  118. .nf
  119. "\en%s:\en", <\fIpathname\fR>
  120. .fi
  121. .P
  122. .RE
  123. .SH STDERR
  124. The standard error shall be used only for diagnostic messages.
  125. .SH "OUTPUT FILES"
  126. Any SCCS files updated shall be files of an unspecified format.
  127. During processing of a
  128. .IR file ,
  129. a locking
  130. .IR z-file ,
  131. as described in
  132. .IR get ,
  133. and a
  134. .IR q-file
  135. (a working copy of the
  136. .IR p-file ),
  137. may be created and deleted. The
  138. .IR p-file
  139. and
  140. .IR g-file ,
  141. as described in
  142. .IR get ,
  143. shall be deleted.
  144. .SH "EXTENDED DESCRIPTION"
  145. None.
  146. .SH "EXIT STATUS"
  147. The following exit values shall be returned:
  148. .IP "\00" 6
  149. Successful completion.
  150. .IP >0 6
  151. An error occurred.
  152. .SH "CONSEQUENCES OF ERRORS"
  153. Default.
  154. .LP
  155. .IR "The following sections are informative."
  156. .SH "APPLICATION USAGE"
  157. None.
  158. .SH EXAMPLES
  159. None.
  160. .SH RATIONALE
  161. None.
  162. .SH "FUTURE DIRECTIONS"
  163. None.
  164. .SH "SEE ALSO"
  165. .IR "\fIdelta\fR\^",
  166. .IR "\fIget\fR\^",
  167. .IR "\fIsact\fR\^"
  168. .P
  169. The Base Definitions volume of POSIX.1\(hy2017,
  170. .IR "Chapter 8" ", " "Environment Variables",
  171. .IR "Section 12.2" ", " "Utility Syntax Guidelines"
  172. .\"
  173. .SH COPYRIGHT
  174. Portions of this text are reprinted and reproduced in electronic form
  175. from IEEE Std 1003.1-2017, Standard for Information Technology
  176. -- Portable Operating System Interface (POSIX), The Open Group Base
  177. Specifications Issue 7, 2018 Edition,
  178. Copyright (C) 2018 by the Institute of
  179. Electrical and Electronics Engineers, Inc and The Open Group.
  180. In the event of any discrepancy between this version and the original IEEE and
  181. The Open Group Standard, the original IEEE and The Open Group Standard
  182. is the referee document. The original Standard can be obtained online at
  183. http://www.opengroup.org/unix/online.html .
  184. .PP
  185. Any typographical or formatting errors that appear
  186. in this page are most likely
  187. to have been introduced during the conversion of the source files to
  188. man page format. To report such errors, see
  189. https://www.kernel.org/doc/man-pages/reporting_bugs.html .