delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/17/16:40:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <40328A2E.80900@acm.org>
Date: Tue, 17 Feb 2004 13:39:58 -0800
From: David Rothenberger <daveroth AT acm DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 2004-Feb-17 snapshot change ssh option parsing behavior
References: <16434 DOT 32879 DOT 365152 DOT 633519 AT forbin DOT entomo DOT com> <20040217212425 DOT GB18953 AT cygbert DOT vinschen DOT de>
In-Reply-To: <20040217212425.GB18953@cygbert.vinschen.de>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Corinna Vinschen wrote:
> On Feb 17 12:58, David Rothenberger wrote:
> We're using the latest plain BSD getopt() now.  It's permuting the
> options by default.  This was switched off by default in Cygwin so far.
> 
> Typically you should quote the command you send to the remote host:
> 
>   ssh somehost '/bin/bash --login -c date'

Yeah, that's an easy fix for this simple case, but I have a bunch of other 
scripts that have quotes in the command sent to ssh, which makes adding 
another level of quotes "fun."

> Another way to accomplish what you want is to set the environment
> variable POSIXLY_CORRECT prior to calling ssh.

That's helpful.  Thanks.

This change broke a number of my scripts.  I wonder how many other similar 
error reports will be made by other users when 1.5.8 is released?

Dave


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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