sm-sorcery AT lists.ibiblio.org
Subject: Discussion of Sorcery related topics
List archive
- From: "Sergey A. Lipnevich" <sergeyli AT pisem.net>
- To: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
- Cc: sm-sorcery AT lists.ibiblio.org
- Subject: Re: [SM-Sorcery]$IFS
- Date: Sun, 20 Oct 2002 14:20:21 -0400
BTW, here's the general strategy. Use `pipe while' instead of `for in':
cat FILE | while read LINE; do
# TODO: do something here
done
The danger is when some env vars have to be passed /out/ of the loop, 'cause they don't get passed at all! So, in two places, `explode' and `satisfy_depends', I had to resort to generating bash code from AWK and eval-ling it.
As for the rest, have a look at the code ;-).
Sergey.
Dufflebunk wrote:
Knock youself out! ;)
How did you decide to remove them in the end?
Do you plan on being on IRC after you commit?
On Sat, 2002-10-19 at 01:10, Sergey A. Lipnevich wrote:
Hi All,
In my working copy I have managed to ridden cast, libdepends, libmisc, and libcodex, of $IFS. It all looks good and I'm doing /a lot/ of tests on virtually all my changes. Any objections to committing this sometime tomorrow?
Also, it solves the following bug in sorcery 20021018: when there is an optional_depends with the spell that's not installed, no other optional_depends below it get called.
And it looks much better without $IFS ;-).
Sergey.
_______________________________________________
SM-Sorcery mailing list
SM-Sorcery AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/sm-sorcery
-
[SM-Sorcery]$IFS,
Sergey A. Lipnevich, 10/19/2002
-
Re: [SM-Sorcery]$IFS,
Dufflebunk, 10/19/2002
- Re: [SM-Sorcery]$IFS, Sergey A. Lipnevich, 10/20/2002
-
Re: [SM-Sorcery]$IFS,
Sergey A. Lipnevich, 10/20/2002
- Re: [SM-Sorcery]$IFS, Dufflebunk, 10/20/2002
-
Re: [SM-Sorcery]$IFS,
Dufflebunk, 10/21/2002
-
Re: [SM-Sorcery]$IFS,
Sergey A Lipnevich, 10/21/2002
- Re: [SM-Sorcery]$IFS, Jens Laas, 10/21/2002
-
Re: [SM-Sorcery]$IFS,
Sergey A Lipnevich, 10/21/2002
-
Re: [SM-Sorcery]$IFS,
Dufflebunk, 10/19/2002
Archive powered by MHonArc 2.6.24.