mkskel.sh (255B)
1 #! /bin/sh 2 # $OpenBSD: mkskel.sh,v 1.2 1996/06/26 05:35:39 deraadt Exp $ 3 4 5 cat <<! 6 /* File created from flex.skl via mkskel.sh */ 7 8 #include "flexdef.h" 9 10 const char *skel[] = { 11 ! 12 13 sed 's/\\/&&/g' $* | sed 's/"/\\"/g' | sed 's/.*/ "&",/' 14 15 cat <<! 16 0 17 }; 18 !