View Single Post
Old 09-04-2018, 09:14 PM   #70
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Sure, since I already rely on usbnet for ssh, might as well rely on usbnet's bb:

Code:
[root@kindle root]# PATH=/mnt/us/usbnet/bin:$PATH

[root@kindle root]# busybox
BusyBox v1.29.2 (2018-08-22 03:16:32 CEST) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2015.
Licensed under GPLv2. See source distribution for detailed
copyright notices.

Usage: busybox [function [arguments]...]
   or: busybox --list
   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:
        [, [[, ash, bash, bb, bbsh, bunzip2, cttyhack, ftpd, httpd, inetd,
        login, mkdir, sh, start-stop-daemon, telnetd
[root@kindle root]#
I had wrongly assumed that installing usbnet did superseeded the builtin bb.

I'll rewrite 'box' (...in time) with ${BLAH:1:1}. thanks.

[EDIT] Ahh, I see, alternately don't touch PATH, just invoke busybox ash ./box 0 0 4 string -c

Last edited by PoP; 09-04-2018 at 09:27 PM.
PoP is offline   Reply With Quote