Mail Archives: cygwin/2004/02/17/16:45:15
--=-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: <http://www.robertcollins.net/keys.txt>.
--=-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--
- Raw text -