Wolf,<div><br></div><div>You can sometimes source a file in bash with the ".". That is:</div><div><br></div><div> . /etc/hosts</div><div><br></div><div>Note the spaces there. However, I believe that will fail as sourcing is used when files are executed. The hosts file is read on reference by programs that need it. If you are trying to keep things separated by breaking up files, have you considered using "make" to rebuild your host file if any of the component files changes?<br>
</div><div><br></div><div>Leam</div><div><br><br><div class="gmail_quote">On Thu, Jul 12, 2012 at 7:26 AM, Wolf Halton <span dir="ltr"><<a href="mailto:wolf.halton@gmail.com" target="_blank">wolf.halton@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have tried <br>source /path/to/file <br>and <br>include(/path/to/file) <br>without success.<span class="HOEnZb"><font color="#888888"><br>
<br>Wolf<br clear="all"><br>-- <br>This Apt Has Super Cow Powers - <a href="http://sourcefreedom.com" target="_blank">http://sourcefreedom.com</a><br>
Open-Source Software in Libraries - <a href="http://FOSS4Lib.org" target="_blank">http://FOSS4Lib.org</a><br>Advancing Libraries Together - <a href="http://LYRASIS.org" target="_blank">http://LYRASIS.org</a><br>Apache Open Office Developer <a href="mailto:wolfhalton@apache.org" target="_blank">wolfhalton@apache.org</a><br>
<br>
</font></span><br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><a href="http://leamhall.blogspot.com/" target="_blank">Mind on a Mission</a></div><br>
</div>