This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Jaw dropping to the desk
- From: "John Vincent" <jpv50 at hotmail dot com>
- To: relaxedrob at optushome dot com dot au
- Cc: cygwin at cygwin dot com
- Date: Fri, 28 Jun 2002 15:06:37 +0000
- Subject: RE: Jaw dropping to the desk
- Bcc:
Hi,
What you need to remember is that all the cygwin programs
are compiled by a version of the gcc compiler that produces
**windows** programs. So cygwin installs a windows version
of 'ls', a windows version of 'grep', a windows version of
'rvxt', a windows version of 'bash', etc.
Also, remember that the DOS command prompt - command.com
(and the newer cmd.exe) both understand pipelines in the
same syntax as bash, so when you type the '|' character,
cmd.exe knows to connect the standard output of one
program to the standard input of the next.
These two factors explain why your command worked.
Regards,
/John Vincent.
*tongue lolling around the floor of my mouth*
I forgot I was in DOS and tried to do an "ls | grep" while in cmd.exe
(Win2K)... and it worked!!
How???? How does my Windows OS know how to use Cygwin stuff?
Rob
:)
:-}
;->
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
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/