88a54d8a99
2) Add __RCSIDs where apropriate. 3) WARNS=1, and clean up sources for WARNS=1 (including replacement of a mktemp with a mkstemp even though it was probably safe...) 4) Some other small cosmetic changes
19 lines
277 B
Bash
19 lines
277 B
Bash
#!/bin/sh
|
|
|
|
# $NetBSD: mkskel.sh,v 1.2 1997/08/02 21:30:13 perry Exp $
|
|
|
|
# idea and sed lines taken straight from flex
|
|
|
|
cat <<!EOF
|
|
/* File created via mkskel.sh */
|
|
|
|
char *crunched_skel[] = {
|
|
!EOF
|
|
|
|
sed 's/\\/&&/g' $* | sed 's/"/\\"/g' | sed 's/.*/ "&",/'
|
|
|
|
cat <<!EOF
|
|
0
|
|
};
|
|
!EOF
|