home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume4
/
se
/
part1
/
m4munge
< prev
next >
Wrap
Text File
|
1986-11-30
|
548b
|
20 lines
#! /bin/sh
# m4munge --- take what the 'where' command produces, and change it for m4
for i in $*
do
case $i in
-DUSG) echo 'define(USG,YES)' ;;
-UUSG) echo 'define(USG,NO)' ;;
-DBSD) echo 'define(BSD,YES)' ;;
-UBSD) echo 'define(BSD,NO)' ;;
-DBSD4_2) echo 'define(BSD4_2,YES)' ;;
-UBSD4_2) echo 'define(BSD4_2,NO)' ;;
-DGITVAX) echo 'define(GITVAX,YES)' ;;
-UGITVAX) echo 'define(GITVAX,NO)' ;;
-DS5R2) echo 'define(S5R2,YES)' ;;
-US5R2) echo 'define(S5R2,NO)' ;;
-DHARD_TERMS) echo 'define(HARD_TERMS,YES)' ;;
esac
done