Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Log Talker

by rfb (Sexton)
on Jul 24, 2003 at 15:29 UTC ( #277580=CUFP: print w/replies, xml ) Need Help??

Thought of a great idea to annoy lazy web developers. now if I only had speakers on my work PC.. hmm..

ssh rfb@webhost 'tail -f /var/log/httpd/webhost/error_log' | perl -MWi +n32::OLE -ne "BEGIN{$v=Win32::OLE->new('SAPI.SpVoice')} s/\[.*?\]//g; +s/\/\S+(?=\/)//g;print\"$_\n\";$v->Speak($_)";

ActivePerl + Cygwin + Busy error_logs
-Ryan

Replies are listed 'Best First'.
Re: Log Talker
by giulienk (Curate) on Jul 27, 2003 at 16:13 UTC
    WARNING: self-advertisement ahead...

    Without speakers? Why don't you try out Audio::Beep?


    $|=$_="1g2i1u1l2i4e2n0k",map{print"\7",chop;select$,,$,,$,,$_/7}m{..}g

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://277580]
Approved by particle
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2021-12-04 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (30 votes). Check out past polls.

    Notices?