X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?p=spider.git;a=blobdiff_plain;f=perl%2Fgrepdbg;h=f61d7cc15ad48954722eb83cd4fac3107e527b5c;hp=80a4b9dec6fce147d5e799f26e1eaea412ff4741;hb=2c425058cd4f040ae0313063a32e6a9d9a1f60d3;hpb=f653700decb8864d66aa45f849ab6796442171c4 diff --git a/perl/grepdbg b/perl/grepdbg index 80a4b9de..f61d7cc1 100755 --- a/perl/grepdbg +++ b/perl/grepdbg @@ -138,7 +138,12 @@ sub usage usage: grepdbg [nn days before] [-nnn lines before] [] [|!]... - grepdbg with no argumants will simply list the current debug log with the timestamp + You can have more than one with an implicit 'and' between them. All + are caseless. It's recommended to put 'not' (!) first in any list. + Don't forget that you are doing this in a shell and you may need to quote your + s. + + grepdbg with no arguments will simply list the current debug log with the timestamp for each line decoded into a human readable form. grepdbg | less @@ -169,8 +174,8 @@ sub usage You can also add a 'sub total {...}' which executes after the last line is printed and grepdbg exits. - Read the code of this program and copy'n'paste the 'sub process' code and its name - to 'sub handle'. Modify it to your requirements... + Read the code of this program and copy'n'paste the 'sub process' code and change + its name to 'sub handle'. Modify it to your requirements... XXX }