From 5fc8d2a2fbbe55fb3f92c4edd216f9e96d21a288 Mon Sep 17 00:00:00 2001 From: epochqwert Date: Tue, 31 Mar 2015 12:54:01 -0500 Subject: init commit after splitting from segfault --- genheader.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 genheader.sh (limited to 'genheader.sh') diff --git a/genheader.sh b/genheader.sh new file mode 100755 index 0000000..3995579 --- /dev/null +++ b/genheader.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cat libhashtable.c | head -n 22 | tail -n 16 > hashtable.h +cat libhashtable.c | grep '(.*) *{' | egrep -v 'if|for|while' | sed 's/ {/;/' >> hashtable.h -- cgit v1.2.3