Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Programming in Linux _ File Includes In Linux?

Posted by: dmilks Nov 16 2004, 12:43 PM

Hi. I'm wondering if you can do file includes in Linux. For example, say I have 2 files, A and B.

A looks like:

#get contents of file B

B looks like:

VAR1="Hello World"

Is there a way to do this so that when file A is executed, the output will be "Hello World"?


Powered by Invision Power Board (
© Invision Power Services (