diff options
author | epochqwert <epoch@hacking.allowed.org> | 2015-03-31 12:54:01 -0500 |
---|---|---|
committer | epochqwert <epoch@hacking.allowed.org> | 2015-03-31 12:54:01 -0500 |
commit | 5fc8d2a2fbbe55fb3f92c4edd216f9e96d21a288 (patch) | |
tree | 8aecb5ad9887edf3d5261ebe0cc5f2263497fa87 /genheader.sh | |
download | libhashtable-5fc8d2a2fbbe55fb3f92c4edd216f9e96d21a288.tar.gz libhashtable-5fc8d2a2fbbe55fb3f92c4edd216f9e96d21a288.zip |
init commit after splitting from segfault
Diffstat (limited to 'genheader.sh')
-rwxr-xr-x | genheader.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |