TIP: Click on subject to list as thread! ANSI
echo: linux
to: Rick Smith
from: Kai Richter
date: 2021-06-20 02:08:00
subject: Bash script

Hello Rick!

19 Jun 21, Rick Smith wrote to All:

 RS> trying to make bash script to combine a couple of other scripts

bash plus bash or bash plus non-bash scripts??

 RS> If I make a script that performs something and then it calls say
 RS> another script, would the first script then pause until the called
 RS> side script completes?

Yes. A script is basically a list of commands running in sequence one by one.

ls A*
ls B*

would list all files with A* and then all files with B*.

A command is basically an executable programm or another script.

Many shells have internal commands for workflow control like loops and breaks.

 RS> If not is there a way to make it wait to move
 RS> forward until the other one completes?

Yes. On many conditions.

man bash
man test

should be your friend. Take your time and use the search function of man and type /loop for example. Jump with n to the next hit. Or press h for the help file.

Regards

Kai

--- GoldED+/LNX 1.1.4.7
                 
* Origin: Monobox (2:240/77)

SOURCE: echomail via QWK@pharcyde.org

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™.