[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <96637.86039.qm@web52504.mail.re2.yahoo.com>
Date: Sat, 5 Apr 2008 21:10:13 -0700 (PDT)
From: Marc Perkel <mperkel@...oo.com>
To: linux-kernel@...r.kernel.org
Subject: tee question [OT]
Just wondering if any of you experts know how to do
this. I want to take an imput stream and produce two
output streams to feed into two different pipes.
echo "1 2 3 4 5" | tee ...
| cut -d \ -f -4 >> file1.txt
| cut -d \ -f 1,2,5- >> file2.txt
The idea being that file1.txt would get "1 2 3 4" and
file2.txt would get "1 2 5"
How do I do it? Tee wants a file as an argument and I
want that file to be a process. Anyhow - I'm not very
smart.
Thanks in advance.
Marc Perkel
Junk Email Filter dot com
http://www.junkemailfilter.com
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists