minor error in "stderr & stdout" web site FAQ
Martin Pool
mbp at samba.org
Tue May 14 19:07:02 EST 2002
On 12 May 2002, Mike Fleetwood <mike at rockover.demon.co.uk> wrote:
> There appears to be an error in the stderr redirection of the crontab
> rsync entry. In Bourne shell and compatibles (crontab entries are run by
> the Bourne shell) redirections are processed from left to right and "2>&1"
> redirects the stderr to the same location stdout is currently directed and
> not to stdout. Hence:
> cmd 2>&1 > log
> directs stderr to the terminal and stdout to the file log. But:
> cmd > log 2>&1
> directs stdout to log and stderr to the same location stdout is current
> redirected, the log file.
>
> Here is a suggested patch for the FAQ on the web site at
> http://samba.anu.edu.au/rsync/FAQ.html
Thanks, committed.
--
Martin
More information about the rsync
mailing list