You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/12/24 13:56:25 UTC

DO NOT REPLY [Bug 15648] New: - Quoted strings as a single argument.

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>