On 06/09/2016 10:04 PM, Gene Heskett wrote:
> And I just amrecover'd a week old version that is working fairly well
On 06/09/2016 10:06 PM, Gene Heskett wrote:
On Friday 10 June 2016 00:00:12 David Christensen wrote:
If that doesn't help, post a complete script that demonstrates the
problem.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, Jun 09, 2016 at 10:41:27PM -0400, Gene Heskett wrote:
> Greetings;
>
> A bash script that has worked most of a decade now refuses.
>
> For instance, assume that var InMail is = "gene", and can be echoed from
> the command line using $InMail
On Friday 10 June 2016 01:34:14 David Wright wrote:
> On Fri 10 Jun 2016 at 01:04:40 (-0400), Gene Heskett wrote:
> > On Thursday 09 June 2016 23:50:35 David Wright wrote:
> > > On Thu 09 Jun 2016 at 22:41:27 (-0400), Gene Heskett wrote:
> > > > A bash script that has worked most of a decade now r
On Fri 10 Jun 2016 at 01:04:40 (-0400), Gene Heskett wrote:
> On Thursday 09 June 2016 23:50:35 David Wright wrote:
> > On Thu 09 Jun 2016 at 22:41:27 (-0400), Gene Heskett wrote:
> > > A bash script that has worked most of a decade now refuses.
> > >
> > > For instance, assume that var InMail is =
On Friday 10 June 2016 00:00:12 David Christensen wrote:
> On 06/09/2016 07:41 PM, Gene Heskett wrote:
> > A bash script that has worked most of a decade now refuses.
> >
> > For instance, assume that var InMail is = "gene", and can be echoed
> > from the command line using $InMail like this.
> >
On Thursday 09 June 2016 23:50:35 David Wright wrote:
> On Thu 09 Jun 2016 at 22:41:27 (-0400), Gene Heskett wrote:
> > A bash script that has worked most of a decade now refuses.
> >
> > For instance, assume that var InMail is = "gene", and can be echoed
> > from the command line using $InMail li
On Thursday 09 June 2016 23:08:32 Lars Noodén wrote:
> On 06/10/2016 05:41 AM, Gene Heskett wrote:
> > gene@coyote:~$ echo `test [${InMail} = "gene"]`
> >
> > All I get is the linefeed. Obviously I'm losing it, so how do I
> > translate and get usefull output for troubleshooting?
>
> One option i
On 06/09/2016 07:41 PM, Gene Heskett wrote:
A bash script that has worked most of a decade now refuses.
For instance, assume that var InMail is = "gene", and can be echoed from
the command line using $InMail like this.
gene@coyote:~$ echo $InMail
gene
But I'll be switched if I can get a result f
On Thu 09 Jun 2016 at 22:41:27 (-0400), Gene Heskett wrote:
> A bash script that has worked most of a decade now refuses.
>
> For instance, assume that var InMail is = "gene", and can be echoed from
> the command line using $InMail like this.
> gene@coyote:~$ echo $InMail
> gene
> But I'll be swi
On 06/10/2016 05:41 AM, Gene Heskett wrote:
> gene@coyote:~$ echo `test [${InMail} = "gene"]`
>
> All I get is the linefeed. Obviously I'm losing it, so how do I
> translate and get usefull output for troubleshooting?
One option is to use 'set -x' there in the script. It can go anywhere
above
Thanks, that did the trick.
Tony Heal
Pace Systems Group, Inc.
800-624-5999
[EMAIL PROTECTED]
-Original Message-
From: Henry Luciano [mailto:[EMAIL PROTECTED]
Sent: Monday, June 12, 2006 3:52 PM
To: [EMAIL PROTECTED]
Cc: 'Debian'
Subject: Re: BASH help
Tony Heal wrote
Tony Heal wrote:
I know that I run a script and direct it's output to a file
/path/script > /path/file
is there a way to direct the output to both the screen and a file at the
same time?
The tee command is what you're looking for.
E.g. /path/script | tee /path/file
--
Henry Luciano Mot
On 6/12/06, Tony Heal <[EMAIL PROTECTED]> wrote:
is there a way to direct the output to both the screen and a file at the
same time?
man tee
It's very easy to use.
--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
On Thu, Apr 23, 1998 at 11:23:13AM -0400, BRIAN SCHRAMM wrote:
> I am trying to tell if a program is passing back an error in a Bash
> script. I would like to branch on receipt of the error to a wait
> statement that will give me about 20 seconds and then retry.
>
> My trouble
>
> I am trying to tell if a program is passing back an error in a Bas=
> h
> script. I would like to branch on receipt of the error to a wait
> statement that will give me about 20 seconds and then retry.
>
> My trouble is I cannot remember how to detect the error and how to
Stephen Carpenter <[EMAIL PROTECTED]> wrote:
| to make bash wait a certain amount of time...
| sleep(X) # X = number of seconds to "sleep"
| as for detecting an error
| scripts can return errors just like any program...
| I think maybe hmmm I forget exactly how...but I know its no differnt than
to make bash wait a certain amount of time...
sleep(X) # X = number of seconds to "sleep"
as for detecting an error
scripts can return errors just like any program...
I think maybe hmmm I forget exactly how...but I know its no differnt than a
program
-Steve
BRIAN SCHRAMM wrote:
> I am tr
17 matches
Mail list logo