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 09:15:03 -0700 (PDT)
http://bugs.sourcemage.org/show_bug.cgi?id=8738
------- Additional Comments From otom7630 AT lucy.troja.mff.cuni.cz 2005-04-28
09:15 -------
My brain just got hit by an inspiration particle.
What about this:
PARAMS=`for I in "$@";do echo -n $I | sed 's/ /\\ /g';echo -n " "; done`
su -c "$0 $PARAMS" root
Meaning that it would escape spaces in all parameters, so they would look like
one token. I tried it and it seems to work.
But I noticed that when I use --cflags, cast tries to resurrect the spell if
possible, which is probably not that good idea when I want to change CFLAGS
:) I
think that --cflags should imply -c as well, the same for other such override
parameters. Should I file another bug for this?
--
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.