Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Subject: Re: 2004-Feb-17 snapshot change ssh option parsing behavior From: Robert Collins To: cygwin AT cygwin DOT com In-Reply-To: <40328A2E.80900@acm.org> References: <16434 DOT 32879 DOT 365152 DOT 633519 AT forbin DOT entomo DOT com> <20040217212425 DOT GB18953 AT cygbert DOT vinschen DOT de> <40328A2E DOT 80900 AT acm DOT org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-m/mACR906Sg409HgGsTx" Message-Id: <1077054294.1254.4.camel@localhost> Mime-Version: 1.0 Date: Wed, 18 Feb 2004 08:44:55 +1100 X-IsSubscribed: yes --=-m/mACR906Sg409HgGsTx Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2004-02-18 at 08:39, David Rothenberger wrote: > 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. > >=20 > > Typically you should quote the command you send to the remote host: > >=20 > > ssh somehost '/bin/bash --login -c date' >=20 > Yeah, that's an easy fix for this simple case, but I have a bunch of othe= r=20 > scripts that have quotes in the command sent to ssh, which makes adding= =20 > another level of quotes "fun." >=20 > > Another way to accomplish what you want is to set the environment > > variable POSIXLY_CORRECT prior to calling ssh. >=20 > That's helpful. Thanks. >=20 > This change broke a number of my scripts. I wonder how many other simila= r=20 > error reports will be made by other users when 1.5.8 is released? you may find that=20 ssh somehost -- bin/bash --login -c date also works. Rob --=20 GPG key available at: . --=-m/mACR906Sg409HgGsTx Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAMotWI5+kQ8LJcoIRApwqAJ9siTOA7o5oEqzf8NO+XJ90gAi7xwCfaJxt +3Et1fGy2dzhk2J3ljTDem0= =qZd4 -----END PGP SIGNATURE----- --=-m/mACR906Sg409HgGsTx--