This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rsh, strange command line parsing


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@taiyo.co.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]