Quote:
Originally Posted by knc1
Nice job.
|
I was so poorly yesterday, Many thanks for your explanation, whilst I foggily grasped the mechanics enough to figure it was a decent hack; I honestly didn't fully understand why.
It's astounding how just a little bit of positive feedback can make one feel better about burning a day on something that very possibly only one or two people in the world may appreciate (directly).
So, fair readers, never be afraid to stroke the pets, they don't bite (mainly) and really do need some attention from time to time. : )
Thanks mate. I will endeavour to do a sub shell test today - just for good measure.
I am thinking nc is the simplest test.
the native one expects
[root@kindle root]#
nc
BusyBox v1.7.2 (2011-09-08 21:57:14 PDT) multi-call binary
Usage: nc [IPADDR PORTNUM]
The new one expects
[root@kindle root]#
/mnt/us/usr/bin/nc
BusyBox v1.20.2 (2012-09-03 02:06:04 BST) multi-call binary.
Usage: nc [-l] [-p PORT] [IPADDR PORT]
AND I foolishly left it out of my alias list (heck, I was tired, I forgive me)
but that will prove useful as I create the simple awk/sed script that inserts/strips out the aliases.
If a sub shell call
to nc somwhere -l -p port dies with a
-l or -p syntax error we have our answer.
I'll report back on that. Err once I figure out what a subshell is (hah kidding)
I am happy to report that my vice like acid in the brain headache has subsided to mere tectonic proportions, which I can handle.
Later.