Bash patches format

2018-05-19 Thread Marty E. Plummer
Greetings, In doing some research into ways to better improve the gentoo ebuild qa, I ran across the fact that the official bash patches are provided as -p0, context diffs. I was hoping I could convince you to convert to -p1, unified diffs, such as are produced by diff -u or git format-patch, for

Documentation for a="$@"

2018-05-19 Thread Ilkka Virta
In Bash, using "$@" in an assignment, (as in a="$@" ) concatenates the positional parameters to single string, joined with spaces. Somewhat similarly to what "$*" does, except that $* uses the first letter of IFS, but $@ always uses a space. However, I can't see this documented in the manual,

Re: Documentation error

2018-05-19 Thread Chet Ramey
On 5/18/18 5:09 PM, Jorge Maldonado Ventura wrote: >> After the string is decoded, it is expanded via parameter expansion, > command substitution, arithmetic expansion, and quote removal, subject > to the value of the |promptvars| shell option (see _Bash Builtins_). > > The documentation should po

Re: Documentation for a="$@"

2018-05-19 Thread Chet Ramey
On 5/19/18 3:40 PM, Ilkka Virta wrote: > In Bash, using "$@" in an assignment, (as inĀ  a="$@" ) concatenates the > positional parameters to single string, joined with spaces. Somewhat > similarly to what "$*" does, except that $* uses the first letter of IFS, > but $@ always uses a space. The key