commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15648] New: - Quoted strings as a single argument.
Date Tue, 24 Dec 2002 12:56:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15648>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15648

Quoted strings as a single argument.

           Summary: Quoted strings as a single argument.
           Product: Commons
           Version: 1.0 Beta 2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: CLI
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: prabu_venkat@yahoo.com


---
Consider the template

 userAdd -u <username> -s <shellname> -m <message>

and the actual usage:

 # userAdd -u prabu -s /usr/bin/bash -m "User Prabu"
---

 In the above, '"User' and 'Prabu"' are considered as
 two separate values by the Posix parser. Also, the
 option value against '-m' is obtained as '&quot;User'.

 I feel this should not be the case. Quoted strings 
 should be considered as one argument.

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message