Subj : Re: still not tossing
To   : Rick Smith
From : Wilfred van Velzen
Date : Mon Jan 09 2023 01:07 pm

Hi Rick,

On 08 Jan 23 15:02, Rick Smith wrote to Wilfred van Velzen:
 about: "still not tossing":

RS>>> rick@abacus:~$ cat /usr/local/bin/mail-toss.sh
RS>>> #!/bin/bash
RS>>> echo "processsing" > /tmp/test.txt
RS>>> echo "PATH = $PATH";
RS>>> echo "SHELL = $SHELL";
RS>>> /usr/local/bin/hpt toss

WV>> {
WV>>   echo "processsing"
WV>>   echo "PATH = $PATH";
WV>>   echo "SHELL = $SHELL";
WV>>   /usr/local/bin/hpt toss

WV>> } >/tmp/test.txt 2>&1

WV>> So you can see everything that is written to stdout and stderr

RS> I am giving this a go thankyou... Where will I see the errors from it?  I
RS> am unfamiliar with stdout and stderr..

It is what the software normally outputs to the console screen (normal and errors). It's now redirected to the /tmp/test.txt file...

Wilfred.

--- FMail-W32 2.0.1.4
* Origin:  point@work  (2:280/464.112)