NetBSD/usr.bin/lex/mkskel.sh

17 lines
187 B
Bash
Raw Normal View History

1993-12-02 22:17:24 +03:00
#! /bin/sh
cat <<!
/* File created from flex.skel via mkskel.sh */
#include "flexdef.h"
char *skel[] = {
!
sed 's/\\/&&/g' $* | sed 's/"/\\"/g' | sed 's/.*/ "&",/'
cat <<!
0
};
!