On 1/10/25 17:01, enh wrote:
i'm not sure it's 100% mksh's fault? the obvious quoting alternatives
do work directly:
$ adb shell
cheetah:/ # /system/bin/test abc =~ a.c
test: too many arguments
2|cheetah:/ # /system/bin/test abc =\~ a.c
cheetah:/ # /system/bin/test abc '=~' a.c
cheetah:/ # ^D
As I said, I inserted 'quotes' inside strings that were already 'quoted'
which doesn't work. But my real problem is "I can't easily reproduce
this here" and am 80% of the way to getting the test suite to run under
toysh, so I can revisit this later rather than reenacting the UHF rubix
cue scene sending you candidate patches.
It's not an important test until the shell is in trying to do [[ ]].
Rob
_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net