X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: <31403137 DOT post AT talk DOT nabble DOT com> <31404379 DOT post AT talk DOT nabble DOT com> Date: Fri, 15 Apr 2011 19:38:06 +0400 Message-ID: Subject: Re: Can cygwin replace win-bash under Windows 7? From: Kostya Altukhov To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com >>> echo !TC | C:/win-bash/nc 192.172.1.6 80 > ScanFile.dta >>> p.s. nc = netcat and I know I need an alternative sooner rather than >>> later > I suspect your question is more about win-bash's nc, which seems to be > a simple way to sent a command to a port on a machine which even > telnet can do though I'm not sure in a scriptable fashion. Perl and Expect, > etc. can accomplish this quite easily though (and Cygwin has both of them). nc itself (netcat) is available in Cygwin, too. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple