[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash question



> 
> Thanks Eric,
> I tried sourcing scr2 and it works faster then CALLING scr2.
> 

This is to be expected: if you call a script, separate shell is started
that runs it.  This takes some time.  If you source a script, the only
overhead is opening and reading an extra file.

Eric

-- 
 E.L. Meijer (tgakem@chem.tue.nl)          | tel. office +31 40 2472189
 Eindhoven Univ. of Technology             | tel. lab.   +31 40 2475032
 Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax    +31 40 2455054


Reply to: