Click to See Complete Forum and Search --> : BASH - include files


Adrian Papari
08-18-2001, 11:14 AM
Hi,

I have a number of .sh files all sharing a number of functions and/or variables.
I know there's a way to 'include' the file, but I haven'y find out how.

Any help? Thanks in advance,
//Adrian Papari.

Salmon
08-18-2001, 12:30 PM
This should do what you're looking for . . .


source filename


[ 18 August 2001: Message edited by: Salmon ]

Adrian Papari
08-18-2001, 01:39 PM
Yup.

worked just fine ;)

Thanks,
//Adrian Papari