The program sget
sget reads a list of path names from standard input.
For each file in the list, if the file is an SCCS file (starts with s.),
sget calls
get(CP)
to put a clear copy of the file in the current directory;
otherwise, it simply copies it into the current directory.
If sget receives a signal while handling a file,
it should remove the file (to avoid leaving a potentially corrupt file)
and exit.
sget also prints some statistics about each file.
For example, if you give it this file:
src/s.main.c
The output should look like this:
main.c: 6231 characters, 872 words, 382 lines
average characters per line: 16
average words per line: 2
sget is used in Sessions 5 through 8.
Next topic:
The program walk
Previous topic:
The program macros
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005