Issue224026
Created on 2000-12-01.11:03:16 by zenzen, last changed 2000-12-01.18:58:39 by bckfnn.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2000-12-01 11:03:16 | zenzen | create | |
Created on 2000-12-01.11:03:16 by zenzen, last changed 2000-12-01.18:58:39 by bckfnn.
| Messages | |||
|---|---|---|---|
| msg217 (view) | Author: Stuart Bishop (zenzen) | Date: 2000-12-01.11:03:16 | |
% jython -c 'import sys'
Traceback (innermost last):
(no code object) at line 0
File "<string>", line 1
import
^
SyntaxError: invalid syntax
Editing the wrapper, and replacing $* with "$@" fixes
the problem.
From man sh:
Inside a pair of double quote marks (""), parameter and com-
mand substitution occurs and the shell quotes the results to
avoid blank interpretation and file name generation. If $*
is within a pair of double quotes, the positional parameters
are substituted and quoted, separated by quoted spaces ("$1
$2 ..."); however, if $@ is within a pair of double quotes,
the positional parameters are substituted and quoted,
separated by unquoted spaces ("$1" "$2" ... ). \ quotes the
characters \, `, , and $. The pair \newline is removed
before parameter and command substitution. If a backslash
precedes characters other than \, `, , $, and newline, then
the backslash itself is quoted by the shell.
|
|||
| msg218 (view) | Author: Finn Bock (bckfnn) | Date: 2000-12-01.18:58:39 | |
Fixed in jython_template.unix_sh revision: 1.2; jythonc_template.unix_sh revision: 1.2; |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2000-12-01 11:03:16 | zenzen | create | |
Supported by Python Software Foundation,
Powered by Roundup