Mailinglist Archive: opensuse (3336 mails)

< Previous Next >
Re: [SLE] using wc -l in loop
  • From: Arie Reynaldi Z <reymanx@xxxxxxxxx>
  • Date: Fri, 2 Dec 2005 09:35:27 +0700
  • Message-id: <c0ba74f50512011835x55f1063fw236ee0c473a3fa8c@xxxxxxxxxxxxxx>
> > 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

< Previous Next >