Skip to Content.
Sympa Menu

sm-sorcery-bugs - [Sm-Sorcery-Bugs] [Bug 1554] bad arguments to tr

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [Sm-Sorcery-Bugs] [Bug 1554] bad arguments to tr
  • Date: Tue, 5 Nov 2002 04:04:14 -0500

http://bugs.sourcemage.org/show_bug.cgi?id=1554





------- Additional Comments From wrunt AT hotmail.com 2002-11-05 04:04 -------
line 1018 of cast reads:

SPELL=`echo "$SPELL" | tr -d [:space:]`

which causes problems if you happen to have a file or directory in pwd called
's', 'p', 'a', 'c' or 'e' which I think is what Dufflebunk is suggesting
happened here. I got a similar problem because I had a directory 'c' in my
home
dir. The fix is simple. There just needs to be 's around the [:space:] to stop
the shell from interpreting it. like so:

SPELL=`echo "$SPELL" | tr -d '[:space:]'`

or you can just run cast from a different directory.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page