delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/15/14:10:26

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Envelope-Sender-Is: Andrej DOT Borsenkow AT mow DOT siemens DOT ru (at relayer goliath.siemens.de)
Date: Sun, 15 Jul 2001 22:09:55 +0400 (MSD)
From: Andrej Borsenkow <Andrej DOT Borsenkow AT mow DOT siemens DOT ru>
X-X-Sender: <bor AT itsrm2 DOT mow DOT siemens DOT ru>
To: Joerg Fischer <jf505 AT yahoo DOT de>
cc: <cygwin AT cygwin DOT com>
Subject: Re: Problem with shell commands
In-Reply-To: <200107150838.f6F8cBc24432@david.siemens.de>
Message-ID: <Pine.SV4.4.33.0107152207220.24120-100000@itsrm2.mow.siemens.ru>
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019