Mailinglist Archive: opensuse (3336 mails)

< Previous Next >
Re: [SLE] using wc -l in loop
  • From: Chadley Wilson <chadley@xxxxxxxxxxxx>
  • Date: Fri, 02 Dec 2005 13:43:53 +0200
  • Message-id: <1133523833.5985.10.camel@xxxxxxxxxxxxxxxxxxxxxx>
On Fri, 2005-12-02 at 09:35 +0700, Arie Reynaldi Z 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
>

Please send me a copy of the script OL...
explain what it must do and what it is doing wrong, maybe I can help.

I just can't work out the correct placement of wc -l if I don't know
what
> > do
> > > stuff...
is.. :)


Thanks Chadley




< Previous Next >