Bash feature in custom shell script not working
Florian Zimmermann
mindfsck at gmail.com
Sun Jul 21 10:44:56 BST 2024
(Debian testing, digiKam 8.3.0, Batch Queue Manager -> User Shell Script)
I hope below is self-explanatory:
abc=${INPUT:3} # this is a bash feature to sub-string from offset 3, it
works fine in a terminal echo $abc >>/tmp/f # NOK, it writes an empty
string, why? echo $INPUT >>/tmp/f # OK echo $SHELL >>/tmp/f #OK for
proving I'm really in a bash
What could I have missed? Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20240721/37ce4744/attachment.htm>
More information about the Digikam-users
mailing list