From 7f82cd9b726f69f01c243833058e438c4e22b84f Mon Sep 17 00:00:00 2001 From: Epoch Qwert Date: Mon, 15 Sep 2014 02:46:47 -0500 Subject: did the TODO of making builtins use a hashtable. added two commands for dealing with them. if you want you can override builtins for security reasons? :) added a small program for doing tail -f for systems that may not have tail -f --- libhashtable/genheader.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 libhashtable/genheader.sh (limited to 'libhashtable/genheader.sh') diff --git a/libhashtable/genheader.sh b/libhashtable/genheader.sh new file mode 100755 index 0000000..3995579 --- /dev/null +++ b/libhashtable/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