projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f653700
)
fix regex help text
author
Dirk Koopman
<djk@tobit.co.uk>
Tue, 25 Jan 2022 15:16:50 +0000
(15:16 +0000)
committer
Dirk Koopman
<djk@tobit.co.uk>
Tue, 25 Jan 2022 15:16:50 +0000
(15:16 +0000)
perl/grepdbg
patch
|
blob
|
history
diff --git
a/perl/grepdbg
b/perl/grepdbg
index 80a4b9dec6fce147d5e799f26e1eaea412ff4741..f61d7cc15ad48954722eb83cd4fac3107e527b5c 100755
(executable)
--- a/
perl/grepdbg
+++ b/
perl/grepdbg
@@
-138,7
+138,12
@@
sub usage
usage: grepdbg [nn days before] [-nnn lines before] [<perl file name>] [<regexp>|!<regexp>]...
usage: grepdbg [nn days before] [-nnn lines before] [<perl file name>] [<regexp>|!<regexp>]...
- grepdbg with no argumants will simply list the current debug log with the timestamp
+ You can have more than one <regexp> with an implicit 'and' between them. All
+ <regexes> are caseless. It's recommended to put 'not' (!<regex>) first in any list.
+ Don't forget that you are doing this in a shell and you may need to quote your
+ <regex>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
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.
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
}
XXX
}