home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 112 
 Daniel Path to Rick Smith 
 bash script 
 19 Jun 21 21:41:01 
 
REPLY: 1:105/10.1 60ce374b
MSGID: 2:371/52@fidonet 60ce490d
CHRS: IBMPC 2
TZUTC: 0200
Hello Rick.

19 Jun 21 11:25, you wrote to All:

 RS> Greetings All!


 RS> Not sure if this is where I would ask this question or not?  I am
 RS> trying to make bash script to combine a couple of other scripts  and I
 RS> had a couple of questions.  So If I make a script that performs
 RS> something and then it calls say another script, would the first script
 RS> then pause until the called side script completes?  If not is there a
 RS> way to make it wait to move forward until the other one completes?  I
 RS> hope I am describing this well for you.

it will 'wait'.

for example the two scripts:

==== a.sh =====
#!/bin/bash
echo "a"
./b.sh
echo "c"
===============
==== b.sh =====
#!/bin/bash
echo "this is b"
===============

danielp@getfunky:~/test$ ./a.sh
a
this is b
c



i hope this was your question :)

Daniel

... BBS: Uptime is 01d 00h 08m 13s (BT-Uptime/OS2, V1.5)
--- GoldED+/EMX 1.1.4.7
 * Origin: Roon's BBS - Budapest, HUNGARY (2:371/52)
SEEN-BY: 1/123 14/0 30/0 90/1 103/705 105/81 114/709 120/340 123/131
SEEN-BY: 129/305 218/700 221/1 6 226/30 227/114 702 229/424 426 550
SEEN-BY: 229/616 700 1016 1017 240/1120 1634 1895 4075 5832 8001 8002
SEEN-BY: 240/8005 249/206 317 400 261/38 280/464 5003 282/464 1038
SEEN-BY: 292/854 301/0 1 101 113 812 313/41 317/3 322/757 335/364
SEEN-BY: 342/200 371/0 52 633/280 920/1 2432/390 2452/250 5058/104
PATH: 371/52 0 240/1120 301/1 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca