delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/11/10:36:50

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
Date: Tue, 11 May 2004 18:22:51 +0900 (JST)
Message-Id: <20040511.182251.39812848.gotoh@taiyo.co.jp>
To: cygwin AT cygwin DOT com
Subject: Re: rsh, strange command line parsing
From: Shun-ichi GOTO <gotoh AT taiyo DOT co DOT jp>
In-Reply-To: <20040511083330.GB12030@cygbert.vinschen.de>
References: <20040511 DOT 132145 DOT 27806189 DOT gotoh AT taiyo DOT co DOT jp> <20040511083330 DOT GB12030 AT cygbert DOT vinschen DOT de>
Mime-Version: 1.0
X-IsSubscribed: yes

Hi,

>>>>> On Tue, 11 May 2004 10:33:30 +0200, Corinna Vinschen wrote,

> rsh is using getopt_long for option processing.  The old versions had it
> statically linked in while newer versions are using the getopt_long built
> into Cygwin.  By default, Cygwin's getopt_long has argument permutation
> switched oon, so that explains it.  For now, add the environment variable
> POSIXLY_CORRECT before calling rsh or, even simpler, quote the remote
> command:
> 
>   rsh server 'ls -a'

I understand.

I tried setting environment variable and rsh works correctly.
It may be helpfull to make workaround-wrapper-script use with rsync.


> The next version of inetutils will have argument permutation switched
> off for short option processing.

Since using rsh is not so often and old version of rsh works on cygwin
1.5.9, I use old one temporarily and wait for next version of inetutils
(1.3.2-29 ?).

Thanks again.

--- Regards,
 Shun-ichi Goto  <gotoh AT taiyo DOT co DOT jp>
   R&D Group, TAIYO Corp., Tokyo, JAPAN

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