NetBSD/usr.bin/lex/mkskel.sh

17 lines
192 B
Bash
Raw Normal View History

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