Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] SHORT descriptions

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Geoffrey Derber <Geoffrey.Derber AT Trinity.edu>
  • To: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
  • Cc: Grimoire <sm-grimoire AT lists.ibiblio.org>
  • Subject: Re: [SM-Grimoire] SHORT descriptions
  • Date: Sat, 12 Jul 2003 20:35:36 -0500

Dufflebunk wrote:
I'm currently trying to make a grimoire compiler that will compile
sections into single files so that sorcery stuff can work on them much
faster. I am, of course, trying to make it so that any valid spell can
be converted but (believe it or not) an problem popped up. It's not
really a bug right now, so I'm not sure what to do about it. It involves
SHORT descriptions being more than one line long:
SHORT="Here is a description on
two lines"
That's perfectly valid bash, it is more than a little difficult for a
simple compiler to handle.

I wrote a one liner to find all of the spells w/ this problem:

for i in /var/lib/sorcery/codex/devel/*/*/DETAILS; do (eval $(grep
"SHORT=" $i ) 2>/dev/null || echo "BAD $i") ; done
BAD /var/lib/sorcery/codex/devel/audio/alsa-driver-virmidi/DETAILS
BAD /var/lib/sorcery/codex/devel/graphics/gltt/DETAILS
BAD /var/lib/sorcery/codex/devel/kde/kdebindings/DETAILS
BAD /var/lib/sorcery/codex/devel/science/euler/DETAILS
BAD /var/lib/sorcery/codex/devel/utils/dmx4linux/DETAILS
BAD /var/lib/sorcery/codex/devel/windowmanagers/wmsensormon/DETAILS

I figure it's not currently considered a bug since it doesn't break
anything and most of the time it's unnoticable. However, this is
supposed to be a /short/ description. Should this be considered a bug
(and if yes, could the spells be fixed please)?

Just out of curriosity, does anything actually USE the short description. 'gaze what' returns the description, I've been tempted to suggest for a while an elimination all together of the short description field, and the maintainer field (maintainer being the section maintainer) is there any need to list it twice, unless we want to keep it as more of a 'submitter'.

Geoff





Archive powered by MHonArc 2.6.24.

Top of Page