home bbs files messages ]

Just a sample of the Echomail archive

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

 Message 113 
 Alan Ianson to Rick Smith 
 bash script 
 19 Jun 21 14:51:26 
 
MSGID: 1:153/757.3 aa23ad84
REPLY: 1:105/10.1 60ce374b
TZUTC: -0700
CHARSET: LATIN-1
> Greetings All!


> Not sure if this is where I would ask this question or not?

This is as good a place as any. There is also the BASH and TUXPOWER areas
although they are low traffic.

> I am trying to make bash script to combine a couple of other scripts  and I
> had a couple of questions.  So If I make a script that performs something and
> then it calls another script, would the first script then pause until the
> called side script completes?

Something like the ability to "call" another bat file in DOS and then the
calling bat file continues with what it was doing?

I am sure there is a way to do that in bash also but even after all these
years my bash skills are less than what they could/should be.

> If not is there a way to make it wait to move forward until the
> other one completes?  I hope I am describing this well for you.

I sometimes do a test for certain files and if found the script will do that
with an "if", like this..

if [ -f /usr/local/fido/dotic.now ]; then
   rm /usr/local/fido/dotic.now
   /usr/local/bin/htick toss
   /usr/local/bin/mfreq-index
fi

Then the script carries on with what it is doing.
--- BBBS/Li6 v4.10 Toy-5
 * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757.3)
SEEN-BY: 1/123 14/0 30/0 90/1 103/705 105/81 106/127 114/709 120/340
SEEN-BY: 123/131 129/305 134/100 153/105 135 757 802 218/700 221/1
SEEN-BY: 221/6 226/30 227/114 702 229/424 426 550 616 700 1016 1017
SEEN-BY: 240/1120 5832 249/206 317 400 261/38 280/464 282/464 1038
SEEN-BY: 292/854 301/0 1 101 113 812 317/3 322/757 335/364 342/200
SEEN-BY: 633/280 770/1 920/1 4500/1 5058/104
PATH: 153/757 221/6 301/1 229/426


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

(c) 1994,  bbs@darkrealms.ca