sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 8738] Cast doesn't like parameters with spaces in them
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 8738] Cast doesn't like parameters with spaces in them
- Date: Thu, 28 Apr 2005 08:46:53 -0700 (PDT)
http://bugs.sourcemage.org/show_bug.cgi?id=8738
------- Additional Comments From otom7630 AT lucy.troja.mff.cuni.cz 2005-04-28
08:46 -------
I suppose this su command would break it as well. However I don't think that
"$@" can solve it here, as we have to pass the whole command in one parameter.
I'm afraid that this would need some special modification of the parameter
string.
Anyway, I can imagine some other situation where you need to pass some quotes
or
suchlike through su to the underlying command, so maybe something like
s/"/\"/g
and s/'/\'/g should be used on the $* string and the result sent to su. But
right now I don't have any idea how to do this so that it would work. Maybe
I'll
get clearer mind tomorrow when I won't be recovering crashed central servers
all
the day ;-)
Still it is possible in such case to just su to root and then use cast as root
to work around the problem :)
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-
[SM-Sorcery-Bugs] [Bug 8738] Cast doesn't like parameters with spaces in them,
bugzilla-daemon, 04/28/2005
- <Possible follow-up(s)>
- [SM-Sorcery-Bugs] [Bug 8738] Cast doesn't like parameters with spaces in them, bugzilla-daemon, 04/28/2005
- [SM-Sorcery-Bugs] [Bug 8738] Cast doesn't like parameters with spaces in them, bugzilla-daemon, 04/28/2005
- [SM-Sorcery-Bugs] [Bug 8738] Cast doesn't like parameters with spaces in them, bugzilla-daemon, 04/28/2005
- [SM-Sorcery-Bugs] [Bug 8738] Cast doesn't like parameters with spaces in them, bugzilla-daemon, 04/28/2005
- [SM-Sorcery-Bugs] [Bug 8738] Cast doesn't like parameters with spaces in them, bugzilla-daemon, 04/28/2005
- [SM-Sorcery-Bugs] [Bug 8738] Cast doesn't like parameters with spaces in them, bugzilla-daemon, 04/28/2005
- [SM-Sorcery-Bugs] [Bug 8738] Cast doesn't like parameters with spaces in them, bugzilla-daemon, 04/28/2005
- [SM-Sorcery-Bugs] [Bug 8738] Cast doesn't like parameters with spaces in them, bugzilla-daemon, 04/29/2005
- [SM-Sorcery-Bugs] [Bug 8738] Cast doesn't like parameters with spaces in them, bugzilla-daemon, 04/30/2005
Archive powered by MHonArc 2.6.24.