[Acer Iconia Tab A100] NoSudo:
Man I am at a total loss as to what your system is doing. That just doesn't make any sense at all. Are you running the script or Copy/Pasting lines into Terminal? What Busybox are you running anyway, not the version where did you get it? It seems totally defective honestly.

The script should work fine for you at this point TBH. Heck it works for me on my Linux PC too when I change the paths, and swap out xxd for hexdump and change the pattern format.

At this point I can only conclude that either you have a bad version of Busybox or you are doing something wrong.

Here is an example of what I mean

BUSYBOXPATH="/system/xbin"

if [ -e "$BUSYBOXPATH/busybox" ]&&[ -e "$BUSYBOXPATH/grep" ]; then

echo "Found BusyBox in $BUSYBOXPATH"

BSYBX_VER=`$BUSYBOXPATH/busybox | $BUSYBOXPATH/grep "BusyBox v"`

echo "Version: $BSYBX_VER"

else

echo "Unable to confirm location of BusyBox, please configure the script"

exit 3

fi

This statement says if /system/xbin/busybox and /system/xbin/busybox exist to echo "Found" etc.

Your output has those lines, so those commands HAVE to exist in those locations or it would respond with

Unable to confirm location of BusyBox, please configure the script.

However the script is unable to read the Version line off busybox because busybox isnt spitting out anything or maybe it's been modified and no longder displays the correct response. Again even a Desktop PC with Linux on it get's this response from Busybox.

What happens when you just type

/system/xbin/busybox

Do you get anything?

You should get something like;

$ busybox

BusyBox v1.19.3 (2011-11-22 01:37:10 MST) multi-call binary

Copyright (C) 1998-2011 Erik Andersen, Rob Landley, Denys Vlasenko

and others. Licensed under GPLv2.

See source distribution for full notice.

Usage: busybox [function] [arguments]...

or: function [arguments]...

BusyBox is a multi-call binary that combines many common Unix

utilities into a single executable. Most people will create a

link to busybox for each function they wish to use and BusyBox

will act like whatever it was invoked as!

Currently defined functions:

[, [[, addgroup, adduser, adjtimex, ar, arping, ash, awk,

basename, brctl, bunzip2, bzcat, bzip2, cal, cat, chgrp,

chmod, chown, chroot, chvt, clear, cmp, cp, cpio, crond,

crontab, cut, date, dc, dd, deallocvt, delgroup, deluser,

df, dirname, dmesg, dos2unix, dpkg, dpkg-deb, du, dumpkmap,

echo, ed, egrep, eject, env, expand, expr, false, fbset,

fdflush, fdisk, fgrep, find, fold, free, freeramdisk, fsck.minix,

ftpget, ftpput, getopt, getty, grep, gunzip, gzip, halt,

head, hexdump, hostid, hostname, httpd, hwclock, id, ifconfig,

ifdown, ifup, init, ip, ipcalc, kill, killall, klogd, last,

length, less, linuxrc, ln, loadfont, loadkmap, logger, login,

logname, logread, losetup, ls, lzmacat, makedevs, md5sum,

mdev, mesg, microcom, mkdir, mkfifo, mkfs.minix, mknod,

mkswap, mktemp, more, mount, mt, mv, nameif, nc, netstat,

nslookup, od, openvt, passwd, patch, pidof, ping, ping6,

pivot_root, poweroff, printf, ps, pwd, rdate, readlink,

realpath, reboot, renice, reset, rm, rmdir, route, rpm,

rpm2cpio, run-parts, sed, setkeycodes, sh, sha1sum, sleep,

sort, start-stop-daemon, static-sh, strings, stty, su, sulogin,

swapoff, swapon, sync, syslogd, tac, tail, tar, tee, telnet,

telnetd, test, tftp, time, top, touch, tr, traceroute, true,

tty, udhcpc, umount, uname, uncompress, unexpand, uniq,

unix2dos, unlzma, unzip, uptime, usleep, uudecode, uuencode,

vconfig, vi, vlock, watch, watchdog, wc, wget, which, who,

whoami, xargs, yes, zcat

Note: Busybox in Android will have a slightly diffrent list of functions but the version line etc is the same.