Subj : Re: still not tossing
To   : Rick Smith
From : Wilfred van Velzen
Date : Thu Jan 12 2023 08:18 am

Hi Rick,

On 11 Jan 23 20:06, Rick Smith wrote to Wilfred van Velzen:
 about: "still not tossing":


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
RS>>> from it?  I am unfamiliar with stdout and stderr..

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

RS> ok, still not tossing but now the test.txt isnt being created with the
RS> script above that you suggested?

You don't quote the first line:

#!/bin/bash

Did you include that in the script?

Does it work on the commandline, and creating the /tmp/test.txt file?


Wilfred.

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