This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with shell commands


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]