[comp.windows.x] contrib: fonts/utils/mac2bdf

casey@lll-crg.llnl.gov (Casey Leedom) (01/13/89)

#! /bin/sh
# This is a shell archive, meaning:
# 1. Remove everything above the #! /bin/sh line.
# 2. Save the resulting text in a file.
# 3. Execute the file with /bin/sh (not csh) to create:
#	fonts/utils/mac2bdf/Imakefile
#	fonts/utils/mac2bdf/mac2bdf.man
# This archive created: Thu Jan 12 21:31:05 1989
export PATH; PATH=/bin:/usr/bin:$PATH
if test -f 'fonts/utils/mac2bdf/Imakefile'
then
	echo shar: "will not over-write existing file 'fonts/utils/mac2bdf/Imakefile'"
else
sed 's/^X//' << \SHAR_EOF > 'fonts/utils/mac2bdf/Imakefile'
X           SRCS = mac2bdf.c
X           OBJS = mac2bdf.o
X
XComplexProgramTarget(mac2bdf)
SHAR_EOF
fi
if test -f 'fonts/utils/mac2bdf/mac2bdf.man'
then
	echo shar: "will not over-write existing file 'fonts/utils/mac2bdf/mac2bdf.man'"
else
sed 's/^X//' << \SHAR_EOF > 'fonts/utils/mac2bdf/mac2bdf.man'
X.TH MAC2BDF 1 "December 8, 1988"
X.AT 3
X.SH NAME
Xmac2bdf \- convert Macintosh format to BDF format
X.SH SYNOPSIS
X.B mac2bdf
Xmac_file bdf_file
X.SH DESCRIPTION
X.I Mactobdf
Xconverts the Macintosh file
X.I mac_file
Xto BDF format in
X.IR bdf_file .
X.SH AUTHOR
XKen Yap
SHAR_EOF
fi
exit 0
#	End of shell archive

*** fonts/utils/mac2bdf/mac2bdf.c-dist	Sat Feb 20 21:21:52 1988
--- fonts/utils/mac2bdf/mac2bdf.c	Thu Dec  8 09:37:52 1988
***************
*** 357,363 ****
  	progname= argv[0];
  	
  	if (argc != 3) {
! 		fprintf(stderr, "usage: %s macname bdfname\n", progname);
  		exit(2);
  	}
  
--- 357,363 ----
  	progname= argv[0];
  	
  	if (argc != 3) {
! 		fprintf(stderr, "usage: %s mac_file bdf_file\n", progname);
  		exit(2);
  	}