Hi,
I have a general question about creating log file for ksh
script.
1. I'd like to send all my script stdout and sdterr messages to the same log file.
2. I want to add a pattern before each line comes to the log file from stderr. This will done in order to recognize all messages coming from stderr.
3. I prefer to have a solution when the needed redirections
will be done at the begining of a script and not per each script line.
Thanks in advance!
Vadim
I have a general question about creating log file for ksh
script.
1. I'd like to send all my script stdout and sdterr messages to the same log file.
2. I want to add a pattern before each line comes to the log file from stderr. This will done in order to recognize all messages coming from stderr.
3. I prefer to have a solution when the needed redirections
will be done at the begining of a script and not per each script line.
Thanks in advance!
Vadim