severity 713805 wishlist
tags 713805 + upstream wontfix
quit

Hi,

Jilles Tjoelker wrote:
> In Debian bug #713805, you wrote:

>> [dot ignores parameters after the script pathname]
>
> POSIX does not specify what happens if dot is given more than one
> parameter, and dash simply ignores the excess. I think it is unlikely
> that dash will add the extension of temporarily setting the excess (if
> not empty) as the positional parameters.
>
> You can set the positional parameters using 'set -- <parameters>' before
> sourcing the script, or you can create a function that sources the
> script and gets passed the desired parameters.

This isn't explained yet in the dash(1) manpage under ". file", so
keeping the bug as a reminder until that happens.

Thanks, both.

Sincerely,
Jonathan


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to