Re: bash scripts creating log files

2002-09-17 Thread Paul Furness
Everyone, Thanks for your help. Tee is exactly what I needed, and works perfectly. P. - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FA

Re: bash scripts creating log files

2002-09-17 Thread Carl
At 12:15 17/09/2002 +0100, Paul Furness wrote: >Hi, everyone. > >I'm trying to write a bash script which is basically a wrapper around a >number of other commands. > >What I _want_ to do is basically _copy_ stdout and stderr to a log file. > >Thus, when I run a command, I wans the stdout and stder

Re: bash scripts creating log files

2002-09-17 Thread Jos Lemmerling
On 17 Sep 2002, Paul Furness wrote: > What I _want_ to do is basically _copy_ stdout and stderr to a log file. > > Thus, when I run a command, I wans the stdout and stderr to go to > wherever called the script (eg an interactive terminal) but I _also_ > want it to go to a log file. > > I can do

bash scripts creating log files

2002-09-17 Thread Paul Furness
Hi, everyone. I'm trying to write a bash script which is basically a wrapper around a number of other commands. What I _want_ to do is basically _copy_ stdout and stderr to a log file. Thus, when I run a command, I wans the stdout and stderr to go to wherever called the script (eg an interactiv