[pacman-dev] [RFC v3 13/13] bacman: make gettext useful

Martin Kühne mysatyre at gmail.com
Fri Sep 30 13:18:14 UTC 2016


Had to try this myself because I don't trust you on this for whatever reason:

$ set -- -a '1 2 3' -b; printf '<%s>\n' "$@"
<-a>
<1 2 3>
<-b>

$ set -- -a '1 2 3' -b; printf '<%s>\n' "$*"
<-a 1 2 3 -b>

Wow uh. So. My own expectation was that "1 2 3" would be split up too instead.
I'm not decided on which of these makepkg should do. I can submit the
implied makepkg patch and scan the project tree for other instances of
this.

cheers!
mar77i


More information about the pacman-dev mailing list