This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
-
J
Jed
Post
by Jed »
Is there a way to pipe the output from a dcc command (.match) into a file or into a tcl script... or even a bash script?
If not... is there a way to run .match from a tcl script?
(I need to grep/awk the output of .match)
-
ppslim
- Revered One
- Posts: 3914
- Joined: Sun Sep 23, 2001 8:00 pm
- Location: Liverpool, England
Post
by ppslim »
You simply recreate the match command in Tcl.
This is a matter for a foreach loop on all users, and checking the information and so on.
-
De Kus
- Revered One
- Posts: 1361
- Joined: Sun Dec 15, 2002 11:41 am
- Location: Germany
Post
by De Kus »
having a look at the tcl commond userlist. it gives you the listerlist so you only need to foreach and string match the whole thing.