GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  IRCHAILO-SEED (1)

.ds Aq ’

NAME

irchailo-seed - Creates a Hailo training file from logs generated by POE::Component::IRC::Plugin::Logger or irssi.

CONTENTS

SYNOPSIS

<B>irchailo-seedB> <options>



 Options:
   -f FORMAT, --format=NAME         Log format (pocoirc or irssi)
   -c CASE,   --case=CASE           The IRC servers case mapping
   -b NICK,   --bot=NICK            The nickname of the IRC bot
   -r RX      --ignore-regex=RX     A regex for lines to ignore
   -n NICK,   --ignore-nick=NICK    A nickname to ignore
   -h,        --help                Print this help message
   -v,        --version             Print version number



Input is accepted on STDIN, and output is delivered to STDOUT.

You should use the --bot option if your bot was present when the channel was logged as it will strip the botname: part from messages where users addressed the bot.

If your bot (or any other bot in the channel) can take commands that all start in a similar way, use the --ignore-regex option to ignore those lines, e.g. --ignore-regex=^!\w+ for bots that react to commands prefixed with ’!’.

Example:



  # convert irssi log, ignoring "MyBot: " prefix and lines with URLs
  cat ~/logs/\#chan.log | irchailo-seed -f irssi -b MyBot -r \w+://\w > hailo.trn



The --case option controls the second parameter passed to lc_irc from IRC::Utils. The default is <B>’rfc1459’B>. You usually don’t have to change this. Consult that package’s documentation for more information.

AUTHOR

Hinrik Oern Sigurd`sson, hinrik.sig@gmail.com

LICENSE AND COPYRIGHT

Copyright 2010 Hinrik Oern Sigurd`sson

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 1 |  Main Index


perl v5.20.3 IRCHAILO-SEED (1) 2012-12-14

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.