Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Browsers with built in search

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Jason Flatt <jason AT flattfamily.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Browsers with built in search
  • Date: Tue, 17 Jun 2003 09:10:27 -0700

On Tuesday 17 June 2003 08:55 am, Jason Flatt wrote:
>
> I modified your previous one slightly to take input from command line and
> use the input that w/o parsing, as it would always give me "no such spell
> ".


Maybe I should have clearified what I said:

#!/bin/bash
source /etc/sorcery/config
spelldir=$(codex_find_spell_by_name $1)
[ ! $spelldir ] && echo "No such spell: $1" && exit 1
codex_set_current_spell $spelldir
echo "<a href=\"$WEB_SITE\">$WEB_SITE</a>"


--
Jason Flatt (jason @ flattfamily . com)
Father of five (http://www.flattfamily.com/)
Linux user (http://www.sourcemage.org/)
PGP Key: E992213F - 0254 9DB7 BE0E 312D 8352 6E39 0700 FB95 E992 213F





Archive powered by MHonArc 2.6.24.

Top of Page