johndrake
Technical User
- Jul 25, 2002
- 97
Hi All,
I'm a newbie and I have a question. Below is an excerpt from a script that I am writing---this code is
in the script that I am executing:
for i in `find . -type f |cat`
do
`compress $i 1> $ARCH_LOG 2> $ARCH_LOG `
done
I want to capture the standard error and output into this
log file. Unfortunately, it still comes back to the screen and the file is 0 bytes in size.
How would I capture the Standard Error/Output to above file?
Thanks!
-Joe
I'm a newbie and I have a question. Below is an excerpt from a script that I am writing---this code is
in the script that I am executing:
for i in `find . -type f |cat`
do
`compress $i 1> $ARCH_LOG 2> $ARCH_LOG `
done
I want to capture the standard error and output into this
log file. Unfortunately, it still comes back to the screen and the file is 0 bytes in size.
How would I capture the Standard Error/Output to above file?
Thanks!
-Joe