Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
Keep It Simple, Stupid
 
PerlMonks  

nimdokk's scratchpad

by nimdokk (Vicar)
on Jun 01, 2004 at 17:22 UTC ( #358280=scratchpad: print w/ replies, xml ) Need Help??

#!/usr/bin/perl -w use strict; use warnings; # Basic wrapper for monitoring a file with 'tail -f'. open TAIL, "tail -f $ARGV[0] |" or die "Failed to pipe to 'tail -f $AR +GV[0]'. $!"; while (<TAIL>) { if (/\Q$ARGV[1]\E/) { print; } }
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-04-19 01:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (475 votes), past polls