tee is supposed to take a filename. The contents of the pipe are duplicated into the file, so you can do other stuff with it. Like print it out. HTH Simon --- Arie Reynaldi Z <reymanx@gmail.com> wrote:
I think the syntax you want will be based on this:
for x in list do stuff... done | wc -l
Hi, I have tried all commands from this threat, but I still cant get what I want, which get list of members and know how much are they. :( this script: do ... .. done | tee | wc -l only shows total of members, but I cant see who are they (list of members). I hope there are other ways, or maybe without using 'wc -l' ?
regards,
-- Arie Reynaldi Zanahar reymanx at gmail.com http://www.reynaldi.or.id
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
"You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions." Naguib Mahfouz __________________________________________ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com