minix/commands/flex-2.5.4/mkskel.sh

17 lines
192 B
Bash
Raw Normal View History

2005-07-11 14:54:10 +02:00
#! /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
};
!