getfilename(1M) getfilename(1M)
NAME
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.
Copyright 1994 Novell, Inc. Page 1