Subject: Re: bug#40039: 'wrap-script' introduces spurious argument

From: Brendan Tildesley <[email-masked]>
Date: Sun, 13 Sep 2020 12:35:47 +1000

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.