This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Problem with shell commands
- To: Joerg Fischer <jf505 at yahoo dot de>
- Subject: Re: Problem with shell commands
- From: Andrej Borsenkow <Andrej dot Borsenkow at mow dot siemens dot ru>
- Date: Sun, 15 Jul 2001 22:09:55 +0400 (MSD)
- cc: <cygwin at cygwin dot com>
On Sun, 15 Jul 2001, Joerg Fischer wrote:
> > you should write (csh)
> > view % & < /dev/null >& /dev/null
...
> The above /dev/null trick doesn't work for Cygwin (invalid null command).
>
I am very surprised that this works anywhere else. The correct is
view % < /dev/null >& /dev/null &
& is command separator, just as newline or ; so your example is
interpreted as two commands, the second one with just redirections (that's
about null command).
-andrej
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/