|
From: | Brendan Tildesley |
Subject: | bug#40039: 'wrap-script' introduces spurious argument |
Date: | Sun, 13 Sep 2020 12:35:47 +1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.12.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |