The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

uupick - receive public system-to-system file copies (LEGACY)

 SYNOPSIS



uupick [-s system]

 DESCRIPTION

The uupick utility can be used by a user to accept or reject the files transmitted to the user. Specifically, uupick searches the public directory (called "PUBDIR"; the actual location of PUBDIR is implementation-dependent) on the user's system for files sent to the user. For each entry (file or directory) found, the user is prompted for each file or directory. The uupick utility then reads a line from the standard input to determine the disposition of the file. The user's possible responses are:
newline
Go on to next entry.
d
Delete the entry.
m[dir]
Move the entry to named directory dir. If dir is not specified as an absolute pathname a destination relative to the current directory is assumed. If no destination is given, the default is the current directory.
a[dir]
Same as m except moving all the files sent from system.
p
Write the content of the file to standard output.
q
Stop and exit.
<EOF>
Same as q.
!command
Escape to the command interpreter to execute command.
*
Write a usage summary for the possible responses described here.

 OPTIONS

The uupick utility supports the XBD specification, Utility Syntax Guidelines  . The following option is supported:
-s system
Process only files sent from system.

 OPERANDS

None.

 STDIN

Used to read the user's response to each file or directory prompt.

 INPUT FILES

The files to be copied are regular files.

 ENVIRONMENT VARIABLES

The following environment variables affect the execution of uupick:
LANG
Provide a default value for the internationalisation variables that are unset or null. If LANG is unset or null, the corresponding value from the implementation-dependent default locale will be used. If any of the internationalisation variables contains an invalid setting, the utility will behave as if none of the variables had been defined.
LC_ALL
If set to a non-empty string value, override the values of all the other internationalisation variables.
LC_CTYPE
Determine the locale for the interpretation of sequences of bytes of text data as characters (for example, single- as opposed to multi-byte characters in arguments and input files).
LC_MESSAGES
Determine the locale that should be used to affect the format and contents of diagnostic messages written to standard error, and informative messages written to standard output.
NLSPATH
Determine the location of message catalogues for the processing of LC_MESSAGES .

 ASYNCHRONOUS EVENTS

Default.

 STDOUT

Prompts are written to standard output in an unspecified format. The prompt will contain at least the sending system name and the name of the subject file or directory.

 STDERR

Used only for diagnostic messages.

 OUTPUT FILES

The output files are copies of the input files.

 EXTENDED DESCRIPTION

None.

 EXIT STATUS

The following exit values are returned:
0
Successful completion.
>0
An error occurred.

 CONSEQUENCES OF ERRORS

Default.

 APPLICATION USAGE

There is no option (such as the SHELL variable) to specify a different command interpreter for use with !command.

Writing a file using p can cause problems on some terminals if the file is not a text file or contains control characters.

 EXAMPLES

None.

 FUTURE DIRECTIONS

None.

 SEE ALSO

uucp, uuto, uustat, uux.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]