freebsd-dev/usr.bin/lex/mkskel.sh
1996-06-19 20:26:48 +00:00

17 lines
192 B
Bash
Executable File

#! /bin/sh
cat <<!
/* File created from flex.skl via mkskel.sh */
#include "flexdef.h"
const char *skel[] = {
!
sed 's/\\/&&/g' $* | sed 's/"/\\"/g' | sed 's/.*/ "&",/'
cat <<!
0
};
!