[Exherbo-dev] hereenvd and friends, functions that take heredocs as input

Bernd Steinhauser exherbo at bernd-steinhauser.de
Sun Oct 12 23:32:01 BST 2008

Bryan Østergaard wrote:
> On Sat, Oct 11, 2008 at 8:34 PM, Bo Ørsted Andresen <zlin at exherbo.org> wrote:
>> doenvd is rarely useful because you almost always need to generate its input
>> in an ebuild and doing so directly in "${IMAGE}"/etc/env.d/ is easier than
>> generating a temporary file and running doenvd on that. As a solution to this
>> Ciaran suggested that we create a hereenvd function that takes a file name
>> and a heredoc as input:
>> hereenvd 40foo <<EOF
>> BAR=baz
>> EOF
>> Similarly the following list of functions could be added:
>> herebin, hereconfd, heredoc, hereenvd, hereexe, hereinfo, hereinitd, hereman,
>> heremo and heresbin.
>> Please discuss!
> Sounds like a good idea.
> hereenvd makes a lot of sense and I guess hereconfd and hereinitd
> might be useful as well but is there any need for all the other
> functions?

Hm, maybe heresbin/hereexe could be useful for wrappers and things like 

Though, I don't have the slightest clue what hereman could be useful. Oo

More information about the Exherbo-dev mailing list