Mailinglist Archive: opensuse (4570 mails)
| < Previous | Next > |
using wc -l in loop
- From: Arie Reynaldi Z <reymanx@xxxxxxxxx>
- Date: Thu, 1 Dec 2005 10:20:40 +0000 (UTC)
- Message-id: <c0ba74f50512010220l25d6615ep5eeea80e0268f403@xxxxxxxxxxxxxx>
Hi All,
I'd like to make a list members and total member from my milis using
ezmlm-list. I make this script:
#!/bin/bash
echo Lihat user, masukan username tanpa domain
read mail
a=`/usr/local/bin/ezmlm/ezmlm-list
/home/vpopmail/domains/domai.com/staff | grep $mail | sort `
for x1 in $a ;
do echo staff $x1
done
But I dont know where should I put 'wc -l' to know total of members..
Any idea ? Is there any other way beside using wc -l ?
regards,
--
Arie Reynaldi Zanahar
reymanx at gmail.com
http://www.reynaldi.or.id
I'd like to make a list members and total member from my milis using
ezmlm-list. I make this script:
#!/bin/bash
echo Lihat user, masukan username tanpa domain
read mail
a=`/usr/local/bin/ezmlm/ezmlm-list
/home/vpopmail/domains/domai.com/staff | grep $mail | sort `
for x1 in $a ;
do echo staff $x1
done
But I dont know where should I put 'wc -l' to know total of members..
Any idea ? Is there any other way beside using wc -l ?
regards,
--
Arie Reynaldi Zanahar
reymanx at gmail.com
http://www.reynaldi.or.id
| < Previous | Next > |