From: "ron minnich" <rminnich@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: [9fans] A simple rc question
Date: Tue, 15 May 2007 08:38:25 -0700 [thread overview]
Message-ID: <13426df10705150838y7148f207m8fbc1631752fc8aa@mail.gmail.com> (raw)
This is a quick attempt at multitail, which does a tail -f on lots of
files, printing the lines from each with the name prepended.
This thing almost works -- except it blocks on each command, not & as
I expect. What did I do wrong?
#!/bin/rc
for(f)
tail -f $f | awk '{print "'^$f^':" $0}'&
ron
next reply other threads:[~2007-05-15 15:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-15 15:38 ron minnich [this message]
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
2007-05-15 23:03 Benn Newman
2007-05-15 23:29 ` ron minnich
2007-05-15 23:35 ` 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=13426df10705150838y7148f207m8fbc1631752fc8aa@mail.gmail.com \
--to=rminnich@gmail.com \
--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).