[aur-general] Backslash to split lines in `depends` array

Frederik "Freso" S. Olesen freso.dk at gmail.com
Sun Nov 3 08:09:20 EST 2013


Den 03-11-2013 13:29, Fabien Dubosson skrev:
> [...] So before filling a
> bug request to `aura`, I wanted to be sure that it is allowed/common to use
> `\` to split lines in the `depends` array?

For some more in-depth information than Rafael's commanding comment:
1) the \ character followed by a newline is used for breaking up long 
lines in (ba)sh code. The $depends array is thus perfectly valid bash, 
and I would file a bug report against aura to either make it not error - 
or at least change it to a warning, since:
2) there's no need to escape the newline in the $depends array, as 
newlines will just be treated like other whitespace until the array 
definition is ended by the ")" character, thus I would *also* do as 
Rafael "suggested" and ask the octave-hg to remove the backslash.

-- 
Frederik "Freso" S. Olesen <http://freso.dk/>


More information about the aur-general mailing list