[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with echo. (echo period)

From: Eli Zaretskii
Subject: Re: Problems with echo. (echo period)
Date: Wed, 25 Apr 2007 00:24:30 +0300

> From: "Dave Korn" <address@hidden>
> Date: Tue, 24 Apr 2007 22:05:25 +0100
>   How long'd it take you to figure out that the redirected output file gets 
> opened before the path search is done?

Actually, the redirection is parsed and acted upon as the first
thing.  That's why redirection can be anywhere on the command line,
like this:

 C:\> >foobar echo

This isn't specific to cmd, btw, Posix shells behave like that as

reply via email to

[Prev in Thread] Current Thread [Next in Thread]