Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Tool similar to linux "cat"

Tool similar to linux "cat"

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Mon 15 Sep 2003 09:04 PM (UTC)
Message
I have discovered that the best way of parsing text files is MC, so I can parse my logs for whatever I need, but I need a tool that can send data to MC as soon as i connect to it... Does anyone have such a tool handy, or should I make one? Or if anyone knew of a scriptable regex parser or something like it, that would be even better.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #1 on Mon 15 Sep 2003 11:11 PM (UTC)
Message
Cat is a small server, connect to it at port 4000 and the commands are "get " and "end". Only accepts local connections, terminates 3 seconds after it sends the file specified by the "get" command.
http://www.poromenos.org/cat.exe
Still, if anyone knows a good tool, please post here.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Magnum   Canada  (580 posts)  Bio
Date Reply #2 on Tue 23 Sep 2003 10:33 AM (UTC)
Message
Visual Basic Script has it's own built-in regular expression engine. See this thread for details:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=1291

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


12,204 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.