Fidonet Portal

From: Alan Ianson (1:153/757.3)
To: All
Date: Sat, 19.06.21 14:51
bash script
> 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/ ]; then
rm /usr/local/fido/
/usr/local/bin/htick toss

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)


This forum contains echomail areas hosted on Nightmare BBS You can browse local echomail areas, italian fidonet areas and a selection of international fidonet areas, reading messages posted by users in Nightmare BBS or even other BBSs all over the world. You can find file areas too (functional to fidonet technology). You can browse echomail areas and download files with no registration, but if you want to write messages in echomail areas, or use fidonet netmail (private messages with fidomet technology), you have to register. Only a minimal set of data is required, functional to echomail and netmail usage (name, password, email); a registration and login with facebook is provided too, to allow easy registration. If you won't follow rules (each echomail areas has its own, regularly posted in the echomail), your account may be suspended;