I'm still working on the rename script to make it "universal"....
I'm using this command:
Code:
image="hello"
echo "$image" | grep -q "h"
Then, checking $? I should find:
Code:
0 One or more matches found.
1 No match found.
2 Syntax error or inaccessible file
But I get ALWAYS a 0 (even if searching "x" in "hello")!!!
It works on cygwin, but not in Kindle...
$? contains the exit status in busybox?