X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0	tests=BAYES_00,FREEMAIL_FROM,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <31403137.post@talk.nabble.com>
Date: Thu, 14 Apr 2011 23:46:47 -0700 (PDT)
From: BazookaJo <z.sath@talk21.com>
To: cygwin@cygwin.com
Subject: Can powershell replace win-bash under Windows 7?
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


Hi guys

I have been playing around with an industrial Linux-powered scanner, and was
making okay progress under XP.

This was made easier as I just ran some of the bash scripts through
win-bash.

Since moving to Windows 7 of course this no longer works, even if I disable
UAC completely - just echos on screen with no errors....

I can only guess that the reason is that win-bash no longer works with
Windows 7?

My question is will powershell fill the gap?

i.e. if this is my win-bash script what would the powershell equivalent look
like, or am I barking up the wrong tree?

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 

Very many thanks in advance

Joe.
-- 
View this message in context: http://old.nabble.com/Can-powershell-replace-win-bash-under-Windows-7--tp31403137p31403137.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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

