[prev in list] [next in list] [prev in thread] [next in thread]
List: sylpheed
Subject: [sylpheed:16949] Re: dynamic sigs
From: "James K. Lowden" <jklowden () schemamania ! org>
Date: 2002-10-30 2:34:27
[Download RAW message or body]
On Tue, 29 Oct 2002 10:59:39 -0500, Bob Forsman <thoth@purplefrog.com>
wrote:
> In 20021028204536.29f1ae53.jklowden@schemamania.org, "James K. Lowden"
> <jklowden@schemamania.org> wrote:
>
> > $ for i in a b c d e; do /usr/games/fortune; done >f& head f
>
> Hah Hah. Your kung fu is no good. Step aside and let a
> self-aggrandizing pompous fool show you how it's done:
>
> for i in 0{,,,,,}; do /usr/games/fortune > /tmp/fifo; done& wc
> /tmp/fifo; wc /tmp/fifo
>
> When you did the redirection on the OUTSIDE of the loop that meant the
> descriptor was opened ONCE, and all the fortune processes shared it
> before it was closed. Since I put the redirection inside the loop, on
> the individual fortune command, the FIFO got closed each time the loop
> ran.
hehe. Thank you. I'll learn from a pompous fool any day.
So this issue is completely solved, no? The three musketeers -- fifo,
fortune, and bourne -- win the day?
> You now owe the Oracle a perky beautician.
Honey, I am a perky beautician. Now what?
--jkl
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic