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

Bo Ørsted Andresen zlin at exherbo.org
Sat Oct 11 19:34:52 BST 2008


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!

-- 
Bo Andresen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.exherbo.org/pipermail/exherbo-dev/attachments/20081011/3645ba65/attachment.pgp>


More information about the Exherbo-dev mailing list