delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/15/02:47:00

X-Recipient: archive-cygwin AT delorie DOT 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 DOT sath AT talk21 DOT com>
To: cygwin AT cygwin DOT com
Subject: Can powershell replace win-bash under Windows 7?
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


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