[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripts one after the other

From: shawn wilson
Subject: Re: scripts one after the other
Date: Sat, 26 Mar 2016 11:31:34 -0400

On Sat, Mar 26, 2016 at 9:26 AM, Val Krem <address@hidden> wrote:
> I'm not sure what you want, but you could always pipe one script into
> another and evaluate the input from the later. Or just call the second
> script from the first in an if.


#!/bin/bash # t2.sh
read f
if [[ $f == foo ]] ; then

$ t1.sh | t2.sh


#!/bin/bash # t1.sh
..... # do stuff
if .... ; then

$ t1.sh

> It is not the question of PIPE one script to the other. I want to pause the 
> script and see the result then decide to continue or not.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]