mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-28 22:36:24 +01:00
de5663609e
James da Silva. We need to integrate this before 1.1.5 so that we can actually make the boot floppies.
16 lines
217 B
Bash
16 lines
217 B
Bash
#! /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
|