Mike Frysinger wrote: >> Personally I prefer using embedded multiline echo: >> echo ' >> CONFIG_FOO >> CONFIG_BAR >> CONFIG_BLAH >> ' >> "$CONFIG" > > the point of using cat with <<- is so that it wont look like crap when you > put > it into the ebuild. you can use normal tab indentation. an echo may work > in a script, but not in an ebuild as the indentation is also placed in the > output file.
Fair enough, I didn't realise indentation was so important in ebuilds. I regularly use that for eg awk or ed scriptlets, and the indent breaks for as long as the quotes are in scope (ie it gets left-justified.) Doesn't matter in ebuild context, I guess, you're right: much more time is spent on compiling the software. Just you brought up subshells wrt a fork to an external binary. -- [EMAIL PROTECTED] mailing list