Current Path : /usr/src/usr.sbin/crunch/crunchgen/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/usr.sbin/crunch/crunchgen/mkskel.sh |
#! /bin/sh # idea and sed lines taken straight from flex cat <<!EOF /* File created via mkskel.sh */ char *crunched_skel[] = { !EOF sed 's/\\/&&/g' $* | sed 's/"/\\"/g' | sed 's/.*/ "&",/' cat <<!EOF 0 }; !EOF