TIP: Click on subject to list as thread! ANSI
echo: tuxpower
to: All
from: Sean Dennis
date: 2015-06-18 19:39:36
subject: Using `source`

Hello All,

The "source" command is much like the "call" command in
DOS batch scripting.

However, as you've seen, the way you send variables to "source"
is a little 
different, but much like this command in DOS:

call batch.bat %1 %2 %3 %4 ...

With "source", however, the shell stops the first script from
running until 
the second script (the one being called) is finished.  It's really nice when 
you're doing things in a sequencial (sp?) order like I am doing in the main 
script.

--Sean

... Lubarsky's Law of Cybernetic Entomology:  There is always one more bug.
--- GoldED+/LNX 1.1.5-b20130910
* Origin: Outpost BBS * Johnson City, TN, USA (1:18/200)
SEEN-BY: 18/200 19/33 34/999 90/1 116/18 120/331 123/500 128/187 140/1 218/700
SEEN-BY: 226/160 230/150 261/38 100 266/404 267/155 280/464 282/1031 1056
SEEN-BY: 292/907 908 320/119 340/400 393/68 396/45 633/267 640/384 712/848
SEEN-BY: 770/1 2320/105
@PATH: 18/200 261/38 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.