1 |
On Thu, 14 Apr 2011 06:18:09 +0200 |
2 |
Benny Pedersen <me@××××.org> wrote: |
3 |
|
4 |
> |
5 |
> i end with 2 empty files |
6 |
> |
7 |
> would have being usefull if -d have turned stderr over to stdout for debug |
8 |
> |
9 |
> what more can i try now ? |
10 |
> |
11 |
|
12 |
If console redirection is not working, a possible work around is to use |
13 |
the script command. This will capture everything that is sent to the |
14 |
console, either via the keyboard or STDOUT/STDERR. |
15 |
|
16 |
script /path/to/output/file |
17 |
|
18 |
command 1 |
19 |
command 2 |
20 |
... |
21 |
exit |
22 |
|
23 |
See the man page for script. |
24 |
|
25 |
Frank Peters |