9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Kris Maglione <bsdaemon@comcast.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] A simple rc question
Date: Tue, 15 May 2007 19:35:59 -0400	[thread overview]
Message-ID: <20070515233559.GA96831@kris.home> (raw)
In-Reply-To: <13426df10705151629u18d15ea1o2d5d4cab218479a5@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

On Tue, May 15, 2007 at 04:29:45PM -0700, ron minnich wrote:
> That works fine. But in a for it did not. This did work however:
> for(i){{tail -f $i | whatever}&}

The second set of braces is superfluous. The & binds looser than the |, 
and also looser than the for loop. Simply for(i) { tail -f $i | foo & } 
is sufficient.

-- 
Kris Maglione

Real programmers don't eat quiche.  In fact, real
programmers don't know how to spell quiche.  They eat
twinkies and szechuan food.

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

  reply	other threads:[~2007-05-15 23:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-15 23:03 Benn Newman
2007-05-15 23:29 ` ron minnich
2007-05-15 23:35   ` Kris Maglione [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-05-15 15:38 ron minnich
2007-05-15 15:46 ` Charles Forsyth
2007-05-15 15:48 ` erik quanstrom
2007-05-15 16:08   ` ron minnich
2007-05-15 16:18     ` Charles Forsyth
2007-05-16  0:24 ` Kris Maglione

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070515233559.GA96831@kris.home \
    --to=bsdaemon@comcast.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).