From: Dirk Koopman Date: Tue, 25 Jan 2022 15:19:19 +0000 (+0000) Subject: fix grepdbg help X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=commitdiff_plain;h=b84cf84a242ce805eef4b5406bacb9016274243d fix grepdbg help --- 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 }