sm-sorcery AT lists.ibiblio.org
Subject: Discussion of Sorcery related topics
List archive
- From: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
- To: "Sergey A. Lipnevich" <sergeyli AT pisem.net>
- Cc: sm-sorcery AT lists.ibiblio.org
- Subject: Re: [SM-Sorcery]$IFS
- Date: 20 Oct 2002 20:25:57 -0400
while read LINE < FILE ; do
is faster than using cat.
On Sun, 2002-10-20 at 14:20, Sergey A. Lipnevich wrote:
> 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 mailing list
> SM-Sorcery AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-sorcery
--
Quidquid latine dictum sit, altum sonatur.
-----------------
PGP public key at
http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x3327A9A5
F1
Attachment:
signature.asc
Description: This is a digitally signed message part
-
[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.