Re: [RML] subscribe {off topic}
Tim Ayers (tayers at bridge.com)
Thu, 08 Apr 1999 08:40:24 -0500
At 10:56 PM 4/8/99 +1000, Andrew wrote:
>At 06:03 8/04/99 +0100, Hugo wrote:
>>>A while back we had a little round of introductions so everyone got to know
>>>everyone else. Perhaps it's time to do that again soon.
>>
>>This makes me curious Bruce, of how many people are subscribed to the RML?
>
>email majordomo at auug.org.au with subscribe rainbowfish
>
>cat the result through a shell script that pipes the line count through wc
>and returns the 2nd or third column or somesuch, subtract the header, and
>you should know. You could do the same with perl or expect but that would
>be just showing off. If you were UNmack you'd use sed or awk just because
>it was harder...
I'm guessing what Andrew meant to say was that you should send 'who
rainbowfish' to majordomo at auug.org.au. This returns a list of people, there
aren't columns so counting the lines is straightforward once you remove the
leading and trailing bits. The answer is
115 subscribers to rainbowfish.
Hope you have a very nice day, :-)
Tim Ayers (tayers at bridge.com)
Norman, OK
P.S. If there were multiple columns in the output I really doubt you need to go
the trouble of writing a shell script. I'm sure the appropriate pipeline of
'head', 'tail', 'cut' and 'wc' would work. Of course Windows users could just
load the output into Excel and see what line number is at the bottom.