[BusyBox] Applet Hashing for Busybox

David Douthitt ssrat at mailbag.com
Wed Oct 25 17:33:08 UTC 2000


On 25 Oct 2000, at 11:20, Erik Andersen wrote:

> Agreed.  If someone wanted to, they could add a test that would do
> some sed megic on applets.h, then sort it, run a diff and if diff
> finds anything report an error... 

No sooner said than:

grep "\t{\"" applets.h | tee /tmp/sort.1.$$ | sort > /tmp/sort.2.$$
if ! `diff > /dev/null`; then
	error "Files are different!"
fi

How would you put this into the Makefile?

I noticed that applets.h is not included therein either.

-- 
David Douthitt
UNIX Systems Administrator
HP-UX, Linux, Unixware
ddouthitt at mennonite.minister.net





More information about the busybox mailing list