sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 6539] handling of bash variables with spaces
- From: bugzilla-daemon AT metalab.unc.edu
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 6539] handling of bash variables with spaces
- Date: Sun, 25 Apr 2004 20:56:45 -0400
http://bugs.sourcemage.org/show_bug.cgi?id=6539
------- Additional Comments From BearPerson AT gmx.net 2004-04-25 20:56 -------
Usually quoting is sufficient, but sometimes bigger changes are needed.
cmd $(find something) for example has a rather complicated fix.
The only good fix for this I have found up to date is a
find something |
while read line ; do
array[i]=$line
let i++
done
cmd "${array[@]}"
Sometimes I may even have to redesign shell variables when they just save
things seperated by spaces.
To cut down on my work, I'll just assume that there will never be spells with
spaces in their name.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-
[SM-Sorcery-Bugs] [Bug 6539] handling of bash variables with spaces,
bugzilla-daemon, 04/03/2004
- <Possible follow-up(s)>
- [SM-Sorcery-Bugs] [Bug 6539] handling of bash variables with spaces, bugzilla-daemon, 04/04/2004
- [SM-Sorcery-Bugs] [Bug 6539] handling of bash variables with spaces, bugzilla-daemon, 04/04/2004
- [SM-Sorcery-Bugs] [Bug 6539] handling of bash variables with spaces, bugzilla-daemon, 04/05/2004
- [SM-Sorcery-Bugs] [Bug 6539] handling of bash variables with spaces, bugzilla-daemon, 04/05/2004
- [SM-Sorcery-Bugs] [Bug 6539] handling of bash variables with spaces, bugzilla-daemon, 04/06/2004
- [SM-Sorcery-Bugs] [Bug 6539] handling of bash variables with spaces, bugzilla-daemon, 04/09/2004
- [SM-Sorcery-Bugs] [Bug 6539] handling of bash variables with spaces, bugzilla-daemon, 04/25/2004
- [SM-Sorcery-Bugs] [Bug 6539] handling of bash variables with spaces, bugzilla-daemon, 04/25/2004
- [SM-Sorcery-Bugs] [Bug 6539] handling of bash variables with spaces, bugzilla-daemon, 04/26/2004
Archive powered by MHonArc 2.6.24.