Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1090

Summary: rsh suddenly needs its arguments quotes
Product: [Retired] Red Hat Raw Hide Reporter: Bill Nottingham <notting>
Component: rshAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-02-11 18:21:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bill Nottingham 1999-02-09 16:53:13 UTC
[notting@bobby:~ ]$ rsh localhost ls -l
localhost: option requires an argument -- l
usage: rsh [-nd] [-l login] host [command]

[notting@bobby:~ ]$ rsh localhost "ls -l"
total 4441
-rw-r--r--   1 notting  notting      4476 May 23  1997
16colors.txt
....

This worked on earlier rsh versions.

Comment 1 Jeff Johnson 1999-02-11 18:21:59 UTC
Linux getopt(3) in rsh uses POSICKLY_CORRECT optstring with leading
"+...".