Hi Ricardo, Ludovic... I was wondering if we could revisit and fix this. I believe there is more than 1 bug here.

Suppose we have the script test.sh

#!/run/current-system/profile/bin/bash
echo "$@"

./test.sh returns:

hi

Wrapping with wrap-script returns

 ./test.sh hi

(notice the extract space at the start.)

With Ludovic's change to char-set:graphicY

.test.sh hi

The leading space is gone at least. Finally, after removing one of the (car cl)'s, if finally just returns hi.