getfilename(1M)
getfilename --
ask the user to name a file in a given format
Synopsis
getfilename format filename
Description
The getfilename
program asks the user for the name of a file
in the format specified by format and copies that file
to the filename given as the second argument.
getfilename provides functionality to programs such as
mailto, which reference mailcap files.
For example, the following line in a
mailcap file allows mailto to help the user include PostScript
in outgoing mail:
application/postscript; lpr -Pipa %s; description="Include
a Postscript File"; compose="getfilename Postscript %s"
References
mailcap(4),
mailto(1),
metamail(1)
Notices
Author is Nathaniel S. Borenstein, Bell Communications Research, Inc.
See copyright page for further information.
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.