Hello
I wanted to use grep in a Run Shell Action, but Tasker has no grep, as I know.
First I tried to use grep from
Termux:
/data/data/com.termux/files/usr/bin/busybox
but I get a file not found. Its a permission issue. Then I copied it (in two steps via the sdcard) to
/data/data/net.dinglisch.android.taskerm/
and did there a chown 700 grep (had to use Run Shell Action) to make it exectuable. Here I have missing libraries e.g. libandroid-support.so - this wont work.
Then I copied busybox from termux (/data/data/com.termux/files/usr/bin/busybox) to Tasker (also via sdcard, cannot copy it from Tasker directly neither from Termux to tasker) directly to the main folder of Tasker:
/data/data/net.dinglisch.android.taskerm/busybox
and now, after chown it to make it executable, I can run grep in busybox:
/data/data/net.dinglisch.android.taskerm/busybox grep
This works, for the moment, but I guess the next Tasker update flushes it away.
Very unhandy, that.
Is there some better, native, fast and reliable way to use grep in Tasker?
Thank's.
frank
Latest Tasker version 5.15.5-beta on Android 9