home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / metamail / bin / getfilename < prev    next >
Encoding:
Text File  |  1992-10-20  |  219 b   |  15 lines

  1. #!/bin/csh -f
  2.  
  3. echo -n "Enter the name of a file in '$1' format: "
  4. set fnam=$<
  5. if ("" == "$fnam") then
  6.     echo Aborted
  7.     exit -1
  8. endif
  9. if (! -r  $fnam) then
  10.     echo No such file
  11.     exit -1
  12. endif
  13. cp $fnam $2
  14. exit 0
  15.