getfilename(1M) DG/UX R4.11MU05 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.
format is descriptive text used in mailcap to help the user
understand what format the file needs to have; getfilename does not
check to see if the file is in that format.
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"
In this example, the user would be presented with the string
Enter the name of a file in 'Postscript' format:
SEE ALSO
mailcap(5), mailto(1), metamail(1), mime(5)
NOTICES
Author is Nathaniel S. Borenstein, Bell Communications Research, Inc.
Licensed material--property of copyright holder(s)